chore(deps): update dependency prosemirror-model to v1.18.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
prosemirror-model | resolutions | minor | 1.9.1 -> 1.18.1 |
Release Notes
prosemirror/prosemirror-model
v1.18.1
Bug fixes
Upgrade to orderedmap 2.0.0 to avoid around a TypeScript compilation issue.
v1.18.0
New features
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
v1.17.0
Bug fixes
Fix a crash in DOM parsing.
New features
Include TypeScript type declarations.
v1.16.1
Bug fixes
Fix a bug in the way whitespace-preservation options were handled in DOMParser
.
v1.16.0
New features
A new NodeSpec
property, whitespace
, allows more control over the way whitespace in the content of the node is parsed.
v1.15.0
New features
textBetween
now allows its leaf text argument to be a function.
v1.14.3
Bug fixes
DOMSerializer.serializeNode
will no longer ignore the node's marks.
v1.14.2
Bug fixes
Be less agressive about dropping whitespace when the context isn't know in DOMParser.parseSlice
.
v1.14.1
Bug fixes
DOM parsing with preserveWhitespace: "full"
will no longer ignore whitespace-only nodes.
v1.14.0
Bug fixes
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.
New features
Fragment.textBetween
is now public.
v1.13.3
Bug fixes
Fix an issue where nested tags that match mark parser rules could cause the parser to apply marks in invalid places.
v1.13.2
Bug fixes
MarkType.removeFromSet
now removes all instances of the mark, not just the first one.
v1.13.1
Bug fixes
Fix a bug where nested marks of the same type would be applied to the wrong node when parsing from DOM.
v1.13.0
New features
Parse rules can now have a consuming: false
property which allows other rules to match their tag or style even when they apply.
v1.12.0
New features
The output of toDOM
functions can now be a {dom, contentDOM}
object specifying the precise parent and content DOM elements.
v1.11.2
Bug fixes
Fix issue where 1.11.1 uses an array method not available on Internet Explorer.
v1.11.1
Bug fixes
Fix an issue where an inner node's mark information could reset the same mark provided by an outer node in the DOM parser.
v1.11.0
New features
Resolved positions have a new convenience method, posAtIndex
, which can resolve a depth and index to a position.
v1.10.1
Bug fixes
Fix a bug that prevented non-canonical list structure from being normalized.
v1.10.0
Bug fixes
Avoid fixing directly nested list nodes during DOM parsing when it looks like the schema allows those.
New features
DOM parser rules can now specify closeParent: true
to have the effect of closing their parent node when matched.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.