Open romansp opened 1 year ago
@romansp would you be willing to close your issue and add your report to #4214 instead? I believe that issue would address the underlying problem. Strength in numbers and all that! This problem (in a different form) has been quite headache for me too.
Which packages did you experience the bug in?
list-keymap
What Tiptap version are you using?
2.1.7
What’s the bug you are facing?
This seems like a bug to me but could actually be an expected behavior. Trying to clarify.
Steps to reproduce:
StarterKit
andListKeymap
extensions.Shift-Tab
to outdent list. Notice how list splits in two:4.
marker becomes1.
Backspace
.What browser are you using?
Chrome
Code example
https://codesandbox.io/p/sandbox/condescending-thompson-fhjdl7?file=/src/components/Editor.vue
What did you expect to happen?
I expect lists to be joined into a single numbered list and numbering. That's the behavior in editors like Notion and Coda.
Actual result:
Anything to add? (optional)
Without
list-keymap
lists become joined again, essentially reverting back to the original list. But I expect list item 2 to be2. 23
.Did you update your dependencies?
Are you sponsoring us?