prosemirror-model
Advanced tools
Changelog
1.16.1 (2021-12-29)
Fix a bug in the way whitespace-preservation options were handled in DOMParser
.
Changelog
1.16.0 (2021-12-27)
A new NodeSpec
property, whitespace
, allows more control over the way whitespace in the content of the node is parsed.
Changelog
1.15.0 (2021-10-25)
textBetween
now allows its leaf text argument to be a function.
Changelog
1.14.3 (2021-07-22)
DOMSerializer.serializeNode
will no longer ignore the node's marks.
Changelog
1.14.2 (2021-06-16)
Be less agressive about dropping whitespace when the context isn't know in DOMParser.parseSlice
.
Changelog
1.14.1 (2021-04-26)
DOM parsing with preserveWhitespace: "full"
will no longer ignore whitespace-only nodes.
Changelog
1.14.0 (2021-04-06)
Node.check
will now error if a node has an invalid combination of marks.
Don't leave carriage return characters in parsed DOM content, since they confuse Chrome's cursor motion.
Fragment.textBetween
is now public.