update docs structure

This commit is contained in:
Philipp Kühn
2020-09-25 18:02:22 +02:00
parent 0a4cd2618e
commit ccdad892d5
4 changed files with 90 additions and 76 deletions

View File

@@ -14,7 +14,7 @@ You can use `Mod` as a shorthand for `Cmd` on Mac and `Control` on other platfor
import BulletList from '@tiptap/extension-bullet-list'
// 2. Overwrite the keyboard shortcuts
const CustomBulletList = new Node()
const CustomBulletList = BulletList()
.keys(({ editor }) => ({
// ↓ your new keyboard shortcut
'Mod-l': () => editor.bulletList(),