prosemirror-transform
Advanced tools
Changelog
1.1.3 (2018-07-03)
Replacing from a code block into a paragraph that has marks, or similar scenarios that would join content with the wrong marks into a node, no longer crashes.
Changelog
1.1.0 (2018-06-20)
Transform.getMirror
, usable in obscure circumstances for inspecting the mirroring structure or a transform, is now a public method.
New utility function dropPoint
, which tries to find a valid position for dropping a slice near a given document position.
Changelog
1.0.9 (2018-04-05)
Fix a bug that made replaceStep
unable to generate wrapper nodes in some circumstances.
Changelog
1.0.8 (2018-04-04)
Fixes an issue where replaceStep
could generate slices that internally violated the schema.
Changelog
1.0.7 (2018-03-21)
Transform.deleteRange
will cover unmatched opening at the start of the deleted range.
Changelog
1.0.6 (2018-03-15)
Throw errors, rather than constructing invalid objects, when deserializing from invalid JSON data.
Changelog
1.0.5 (2018-03-14)
replaceStep
will now return null rather than an empty step when it fails to place the slice.
Avoid duplicating defining parent nodes in replaceRange
.