prosemirror-model
Advanced tools
Changelog
1.19.4 (2023-12-11)
Make textBetween
emit block separators for empty textblocks.
Changelog
1.19.3 (2023-07-13)
Don't apply style parse rules for nodes that are skipped by other parse rules.
Changelog
1.19.2 (2023-05-23)
Allow parse rules with a clearMark
directive to clear marks that have already been applied.
Changelog
1.19.1 (2023-05-17)
Fix the types of Fragment.desendants
to include the index parameter to the callback. Add release note
Include CommonJS type declarations in the package to please new TypeScript resolution settings.
Changelog
1.19.0 (2023-01-18)
Parse rules for styles can now provide a clearMark
property to remove pending marks (for example for font-style: normal
).
Changelog
1.18.2 (2022-11-14)
Improve DOM parsing of nested block elements mixing block and inline children.
Changelog
1.18.1 (2022-06-15)
Upgrade to orderedmap 2.0.0 to avoid around a TypeScript compilation issue.
Changelog
1.18.0 (2022-06-07)
Node specs for leaf nodes now support a property leafText
which, when given, will be used by textContent
and textBetween
to serialize the node.
Add optional type parameters to Schema
for the node and mark names. Clarify Schema type parameters