update doc pages

This commit is contained in:
Philipp Kühn
2020-11-13 11:52:02 +01:00
parent 070ea8fbe0
commit b2592c2a04
5 changed files with 12 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ import BulletList from '@tiptap/extension-bullet-list'
const CustomBulletList = BulletList.extend({
addKeyboardShortcuts() {
return {
'Mod-l': () => this.editor.bulletList(),
'Mod-l': () => this.editor.commands.bulletList(),
}
},
})
@@ -292,7 +292,7 @@ import BulletList from '@tiptap/extension-bullet-list'
const CustomBulletList = BulletList.extend({
addKeyboardShortcuts() {
return {
'Mod-l': () => this.editor.bulletList(),
'Mod-l': () => this.editor.commands.bulletList(),
}
},
})