mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-21 07:18:05 +08:00
d270419ad8
Similarly removed in Prosemirror at ProseMirror/prosemirror-commands@20371c58 For users who wish to preserve this behaviour, they can achieve this via: ```javascript const CustomKeyboardBehaviour = Extension.create({ addKeyboardShortcuts() { return { ['Home']: () => this.editor.commands.selectTextblockStart(), ['End']: () => this.editor.commands.selectTextblockEnd(), } } }) const editor = new Editor({ extensions: [ // Register your custom extension with the editor. CustomKeyboardBehaviour, ] }); ``` |
||
---|---|---|
.. | ||
clipboardTextSerializer.ts | ||
commands.ts | ||
editable.ts | ||
focusEvents.ts | ||
index.ts | ||
keymap.ts | ||
tabindex.ts |