prosemirror-model
Advanced tools
Changelog
1.13.2 (2021-02-04)
MarkType.removeFromSet
now removes all instances of the mark, not just the first one.
Changelog
1.13.1 (2020-12-20)
Fix a bug where nested marks of the same type would be applied to the wrong node when parsing from DOM.
Changelog
1.13.0 (2020-12-11)
Parse rules can now have a consuming: false
property which allows other rules to match their tag or style even when they apply.
Changelog
1.12.0 (2020-10-11)
The output of toDOM
functions can now be a {dom, contentDOM}
object specifying the precise parent and content DOM elements.
Changelog
1.11.2 (2020-09-12)
Fix issue where 1.11.1 uses an array method not available on Internet Explorer.
Changelog
1.11.1 (2020-09-11)
Fix an issue where an inner node's mark information could reset the same mark provided by an outer node in the DOM parser.
Changelog
1.11.0 (2020-07-08)
Resolved positions have a new convenience method, posAtIndex
, which can resolve a depth and index to a position.
Changelog
1.10.1 (2020-07-08)
Fix a bug that prevented non-canonical list structure from being normalized.
Changelog
1.10.0 (2020-05-25)
Avoid fixing directly nested list nodes during DOM parsing when it looks like the schema allows those.
DOM parser rules can now specify closeParent: true
to have the effect of closing their parent node when matched.