From 1b5b60c59502d3abcdd93d797af07138babb20db Mon Sep 17 00:00:00 2001 From: Chrissi2812 Date: Thu, 25 Apr 2019 17:29:52 +0200 Subject: [PATCH] simplify placeholder example --- examples/Components/Routes/Placeholder/index.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/Components/Routes/Placeholder/index.vue b/examples/Components/Routes/Placeholder/index.vue index 7549540dc..486400da7 100644 --- a/examples/Components/Routes/Placeholder/index.vue +++ b/examples/Components/Routes/Placeholder/index.vue @@ -1,6 +1,6 @@ @@ -19,7 +19,6 @@ export default { }, data() { return { - placeholder: 'Write something …', editor: new Editor({ extensions: [ new BulletList(), @@ -36,11 +35,6 @@ export default { beforeDestroy() { this.editor.destroy() }, - watch: { - placeholder(newValue) { - this.editor.extensions.options.placeholder.emptyNodeText = newValue - }, - }, }