placeholder for note content

This commit is contained in:
zadam 2019-03-04 22:39:44 +01:00
parent 610dd8a783
commit a6fd3bfb00

View File

@ -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);
}