From 1472254913c984fadba33c08db2366d4f65de711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 2 Dec 2019 23:05:03 +0100 Subject: [PATCH] improve placeholder --- examples/Components/Routes/Placeholder/index.vue | 4 +++- .../src/extensions/Placeholder.js | 14 +++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/examples/Components/Routes/Placeholder/index.vue b/examples/Components/Routes/Placeholder/index.vue index 7f2eb46d1..2e706097b 100644 --- a/examples/Components/Routes/Placeholder/index.vue +++ b/examples/Components/Routes/Placeholder/index.vue @@ -24,9 +24,11 @@ export default { new BulletList(), new ListItem(), new Placeholder({ + emptyEditorClass: 'is-editor-empty', emptyNodeClass: 'is-empty', emptyNodeText: 'Write something …', showOnlyWhenEditable: true, + showOnlyCurrent: true, }), ], }), @@ -39,7 +41,7 @@ export default {