Update index.vue
According to this line https://github.com/scrumpy/tiptap/blob/master/packages/tiptap-extensions/src/extensions/Placeholder.js#L46
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
|||||||
new BulletList(),
|
new BulletList(),
|
||||||
new ListItem(),
|
new ListItem(),
|
||||||
new Placeholder({
|
new Placeholder({
|
||||||
emptyClass: 'is-empty',
|
emptyNodeClass: 'is-empty',
|
||||||
emptyNodeText: 'Write something …',
|
emptyNodeText: 'Write something …',
|
||||||
showOnlyWhenEditable: true,
|
showOnlyWhenEditable: true,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user