Socket
Socket
Sign inDemoInstall

prosemirror-model

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-model - npm Package Versions

1
9

1.13.1

Diff

Changelog

Source

1.13.1 (2020-12-20)

Bug fixes

Fix a bug where nested marks of the same type would be applied to the wrong node when parsing from DOM.

marijn
published 1.13.0 •

Changelog

Source

1.13.0 (2020-12-11)

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.

marijn
published 1.12.0 •

Changelog

Source

1.12.0 (2020-10-11)

New features

The output of toDOM functions can now be a {dom, contentDOM} object specifying the precise parent and content DOM elements.

marijn
published 1.11.2 •

Changelog

Source

1.11.2 (2020-09-12)

Bug fixes

Fix issue where 1.11.1 uses an array method not available on Internet Explorer.

marijn
published 1.11.1 •

Changelog

Source

1.11.1 (2020-09-11)

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.

marijn
published 1.11.0 •

Changelog

Source

1.11.0 (2020-07-08)

New features

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

marijn
published 1.10.1 •

Changelog

Source

1.10.1 (2020-07-08)

Bug fixes

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

marijn
published 1.10.0 •

Changelog

Source

1.10.0 (2020-05-25)

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.

marijn
published 1.9.1 •

Changelog

Source

1.9.1 (2020-01-17)

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.

marijn
published 1.9.0 •

Changelog

Source

1.9.0 (2020-01-07)

New features

The NodeType method hasRequiredAttrs is now public.

Element and attribute names in DOMOutputSpec structures can now contain namespaces.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc