Update index.vue

This commit is contained in:
Ivan
2018-12-15 13:48:18 +03:00
committed by GitHub
parent 826ba3e214
commit f14dfe8396

View File

@@ -24,6 +24,7 @@ export default {
new ListItem(),
new Placeholder({
emptyClass: 'is-empty',
emptyNodeText: 'Write something cool or die!'
}),
],
}),
@@ -37,7 +38,7 @@ export default {
<style lang="scss">
.editor p.is-empty:first-child::before {
content: 'Start typing…';
content: attr(data-empty-text);
float: left;
color: #aaa;
pointer-events: none;