tiptap/packages
Dominik ef8a1a2f3d
fix(core): implement deleteCurrentNode command & fix node joining on Delete key (#3192)
* fix(core): 🐛 fix delete on empty nodes joining next node incorrectly

This PR implements a "deleteCurrentNode" action in combination with registering this command inside the keymap for the delete key. This way, we editor will check, if the current node is empty before joining - if the current node is empty, the node will be removed. Joining will still work if the current node is not empty and the selection is at the end of the current node

2924

* refactor(core): ♻️ remove unnecessary return on handleDelete keymap
2022-11-25 16:42:13 +01:00
..
core fix(core): implement deleteCurrentNode command & fix node joining on Delete key (#3192) 2022-11-25 16:42:13 +01:00
extension-blockquote v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-bold v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-bubble-menu v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-bullet-list v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-character-count v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-code v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-code-block v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-code-block-lowlight v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-collaboration v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-collaboration-cursor v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-color v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-document v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-dropcursor v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-floating-menu v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-focus v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-font-family v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-gapcursor v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-hard-break v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-heading v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-highlight v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-history v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-horizontal-rule v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-image v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-italic v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-link v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-list-item v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-mention v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-ordered-list v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-paragraph v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-placeholder v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-strike v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-subscript v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-superscript v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-table v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-table-cell v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-table-header v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-table-row v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-task-item v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-task-list v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-text v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-text-align v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-text-style v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-typography v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-underline v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
extension-youtube v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
html v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
react v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
starter-kit v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
suggestion v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
vue-2 v2.0.0-beta.204 2022-11-25 15:27:27 +01:00
vue-3 v2.0.0-beta.204 2022-11-25 15:27:27 +01:00