chore(deps): update dependency prosemirror-model to v1.18.1
Compare changes
Files
2+ 1
− 1
@@ -32,7 +32,7 @@
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
prosemirror-model | resolutions | minor | 1.9.1 -> 1.18.1 |
v1.18.1
Upgrade to orderedmap 2.0.0 to avoid around a TypeScript compilation issue.
v1.18.0
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
Fix a crash in DOM parsing.
Include TypeScript type declarations.
v1.16.1
Fix a bug in the way whitespace-preservation options were handled in DOMParser
.
v1.16.0
A new NodeSpec
property, whitespace
, allows more control over the way whitespace in the content of the node is parsed.
v1.15.0
textBetween
now allows its leaf text argument to be a function.
v1.14.3
DOMSerializer.serializeNode
will no longer ignore the node's marks.
v1.14.2
Be less agressive about dropping whitespace when the context isn't know in DOMParser.parseSlice
.
v1.14.1
DOM parsing with preserveWhitespace: "full"
will no longer ignore whitespace-only nodes.
v1.14.0
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.
v1.13.3
Fix an issue where nested tags that match mark parser rules could cause the parser to apply marks in invalid places.
v1.13.2
MarkType.removeFromSet
now removes all instances of the mark, not just the first one.
v1.13.1
Fix a bug where nested marks of the same type would be applied to the wrong node when parsing from DOM.
v1.13.0
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
The output of toDOM
functions can now be a {dom, contentDOM}
object specifying the precise parent and content DOM elements.
v1.11.2
Fix issue where 1.11.1 uses an array method not available on Internet Explorer.
v1.11.1
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
Resolved positions have a new convenience method, posAtIndex
, which can resolve a depth and index to a position.
v1.10.1
Fix a bug that prevented non-canonical list structure from being normalized.
v1.10.0
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.
This MR has been generated by Renovate Bot.