Prosemirror

Latest version: v0.5.0

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 18

1.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.

1.11.0

New features

Resolved positions have a new convenience method, `posAtIndex`, which can resolve a depth and index to a position.

1.10.1

Bug fixes

Fix a bug that prevented non-canonical list structure from being normalized.

1.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.

1.9.1

Bug fixes

Marks found in the DOM at the wrong level (for example, a bold style on a block node) are now properly moved to the node content.

1.9.0

New features

The `NodeType` method [`hasRequiredAttrs`](https://prosemirror.net/docs/ref/#model.NodeType.hasRequiredAttrs) is now public.

Element and attribute names in [`DOMOutputSpec`](https://prosemirror.net/docs/ref/#model.DOMOutputSpec) structures can now contain namespaces.

Page 5 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.