Cannot execute sinkListItem method #1966
-
I like to have ability to sink/lift list items from a bubble menu, so I add handlers like this: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hmm that should work. can you provide a codesandbox please? |
Beta Was this translation helpful? Give feedback.
-
Instead of |
Beta Was this translation helpful? Give feedback.
Instead of
this.editor.chain().focus().sinkListItem().run()
you have to callthis.editor.chain().focus().sinkListItem('listItem').run()
.