prosemirror-model
Advanced tools
Changelog
1.9.0 (2020-01-07)
The NodeType
method hasRequiredAttrs
is now public.
Element and attribute names in DOMOutputSpec
structures can now contain namespaces.
Changelog
1.8.2 (2019-11-20)
Rename ES module files to use a .js extension, since Webpack gets confused by .mjs
Changelog
1.8.1 (2019-11-19)
The file referred to in the package's module
field now is compiled down to ES5.
Changelog
1.8.0 (2019-11-08)
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Add a module
field to package json file.
Changelog
1.7.5 (2019-11-07)
ContentMatch.edge
now throws, as it is supposed to, when you try to access the edge past the last one.
Changelog
1.7.4 (2019-10-10)
Fix an issue where fillBefore
would in some cases insert unneccesary optional child nodes in the generated content.
Changelog
1.7.3 (2019-10-03)
Fix an issue where any whitespace (not just the characters that HTML collapses) was collapsed by the parser in non-whitespace-preserving mode.
Changelog
1.7.2 (2019-09-04)
When <br>
DOM nodes can't be parsed normally, the parser now converts them to newlines. This should improve parsing of some forms of source code HTML.
Changelog
1.7.1 (2019-05-31)
Using Fragment.from
on an invalid value, including a Fragment
instance from a different version/instance of the library, now raises a meaningful error rather than getting confused.
Fix a bug in parsing overlapping marks of the same non-self-exclusive type.