prosemirror-commands
Advanced tools
Changelog
1.2.0 (2022-01-17)
Add a workaround for a bug on macOS where Ctrl-a and Ctrl-e getting stuck at the edge of inline nodes.
The new selectTextblockEnd
and selectTextblockStart
commands move the cursor to the start/end of the textblock, when inside one.
Ctrl-a/e on macOS and Home/End on other platforms are now bound to selectTextblockEnd
and selectTextblockStart
.
Changelog
1.1.12 (2021-10-29)
Fix issue where the default PC keymap was used on recent versions of iPhone or iPad operating systems.
Changelog
1.1.11 (2021-10-06)
Add a binding for Shift-Backspace to the base keymap, so that shift or caps-lock won't interfere with backspace behavior.
Fix an issue in autoJoin
that made it ignore a third argument if it was passed one.
Changelog
1.1.10 (2021-07-05)
Make joinBackward
capable of joining textblocks wrapped in parent nodes when the parent nodes themselves can't be joined (for example two list items which allow only a single paragraph).
Changelog
1.1.9 (2021-06-07)
Fix a regression where splitBlock
could crash when splitting at the end of a non-default block.
Changelog
1.1.8 (2021-05-22)
Fix a crash in splitBlock
that occurred with certain types of schemas.
Changelog
1.1.7 (2021-02-22)
Fix a regression where createParagraphNear
no longer fired for gap cursor selections.
Changelog
1.1.6 (2021-02-10)
Improve behavior of enter when the entire document is selected.
Changelog
1.1.5 (2021-01-14)
joinBackward
and joinForward
will now, when the textblock after the cut can't be moved into the structure before the cut, try to just join the inline content onto the last child in the structure before the cut.
toggleMark
will now skip whitespace at the start and end of the selection when adding a mark.