prosemirror-transform
Advanced tools
Changelog
1.3.1 (2021-04-01)
Fix a crash in Transform.replaceRange
when called with under specific circumstances.
Fix an issue where dropPoint
could return an invalid drop point.
Changelog
1.3.0 (2021-03-31)
The various properties of subclasses of Step
(ReplaceStep
, ReplaceAroundStep
, AddMarkStep
, and RemoveMarkStep
) are now part of the public interface.
Changelog
1.2.12 (2021-02-20)
Fix a bug where merging replace steps with the structure
flag could create steps that couldn't be applied.
Changelog
1.2.11 (2021-02-06)
Fix an issue in Transform.removeMark
where the mark type was passed through to be removed instead of the mark itself.
Changelog
1.2.10 (2021-02-05)
Fix an issue where Transform.removeMark
, when given a mark type, would only remove the first instance from nodes that had multiple marks of the type.
Changelog
1.2.9 (2021-01-19)
Fix an issue where AddMarkStep
would mark inline nodes with content.
Changelog
1.2.8 (2020-08-11)
Fix an issue where fitting a slice at the top level of the document would, in some circumstances, crash.
Changelog
1.2.7 (2020-07-09)
Fix an issue where in some cases replace fitting would insert an additional bogus node when fitting content into nodes with strict content restrictions.
Changelog
1.2.6 (2020-06-10)
Fix an issue where creating a replace step would sometimes fail due to unmatchable close tokens after the replaced range.