You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to add Move Up and Move Down item in DragHandleMenu, but editor.moveBlocksUp() can only move up the selected blocks or current cursor, and the invoked function in moveBlocksUp(editor) are not exported. So can you export editor.moveBlocksUp() and editor.moveBlocksDown() with a optional parameter blockId, or export another function replace?
Describe the solution you'd like
Export editor.moveBlocksUp() and editor.moveBlocksDown() with a optional parameter blockId, or export another function replace.
Describe alternatives you've considered
Additional context
Bonus
[ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖
The text was updated successfully, but these errors were encountered:
Your suggestion of adding the optional parameter to editor.moveBlocksUp makes sense. I think this should be fairly easiy to implement. Could you create a PR for this if you need the functionality?
Is your feature request related to a problem? Please describe.
I want to add
Move Up
andMove Down
item inDragHandleMenu
, buteditor.moveBlocksUp()
can only move up the selected blocks or current cursor, and the invoked function inmoveBlocksUp(editor)
are not exported. So can you exporteditor.moveBlocksUp()
andeditor.moveBlocksDown()
with a optional parameter blockId, or export another function replace?Describe the solution you'd like
Export
editor.moveBlocksUp()
andeditor.moveBlocksDown()
with a optional parameter blockId, or export another function replace.Describe alternatives you've considered
Additional context
Bonus
[ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖
The text was updated successfully, but these errors were encountered: