prosemirror-commands
Advanced tools
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.
Changelog
1.1.4 (2020-04-15)
selectNodeForward
and selectNodeBackward
will now also select nodes next to a gap cursor (or other custom empty selection type).
Changelog
1.1.3 (2020-01-03)
Fix an issue where, since version 1.7.4 of prosemirror-model, splitBlock
fails to create the expected new textblock in some schemas.
Changelog
1.1.2 (2019-11-20)
Rename ES module files to use a .js extension, since Webpack gets confused by .mjs
Changelog
1.1.1 (2019-11-19)
The file referred to in the package's module
field now is compiled down to ES5.
Changelog
1.0.8 (2019-05-14)
Fix a crash caused by using a position potentially outside the document in splitBlock
.
Changelog
1.0.7 (2018-04-09)
Fixes an issue where joinBackward
might create a selection pointing into the old document.
Changelog
1.0.6 (2018-04-04)
The setBlockType
command command is now considered applicable when any of the selected textblocks can be changed (it used to only look at the first one).
Fix crash when calling splitBlock
when the selection isn't in a block node (by disabling the command in that case).
Fixes an issue where joinForward
might create a selection pointing into the old document.