From a6fd3bfb00f6f6616b7c601d2c18674f69905fea Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 4 Mar 2019 22:39:44 +0100 Subject: [PATCH] placeholder for note content --- src/public/javascripts/services/note_detail_text.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/public/javascripts/services/note_detail_text.js b/src/public/javascripts/services/note_detail_text.js index b428e2ae9..512f68c64 100644 --- a/src/public/javascripts/services/note_detail_text.js +++ b/src/public/javascripts/services/note_detail_text.js @@ -19,7 +19,9 @@ async function show() { // textEditor might have been initialized during previous await so checking again // looks like double initialization can freeze CKEditor pretty badly if (!textEditor) { - textEditor = await BalloonEditor.create($component[0]); + textEditor = await BalloonEditor.create($component[0], { + placeholder: "Type the content of your note here ..." + }); onNoteChange(noteDetailService.noteChanged); }