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

Diff

marijn
published 1.16.1 •

Changelog

Source

1.16.1 (2021-12-29)

Bug fixes

Fix a bug in the way whitespace-preservation options were handled in DOMParser.

marijn
published 1.16.0 •

Changelog

Source

1.16.0 (2021-12-27)

New features

A new NodeSpec property, whitespace, allows more control over the way whitespace in the content of the node is parsed.

marijn
published 1.15.0 •

Changelog

Source

1.15.0 (2021-10-25)

New features

textBetween now allows its leaf text argument to be a function.

marijn
published 1.14.3 •

Changelog

Source

1.14.3 (2021-07-22)

Bug fixes

DOMSerializer.serializeNode will no longer ignore the node's marks.

marijn
published 1.14.2 •

Changelog

Source

1.14.2 (2021-06-16)

Bug fixes

Be less agressive about dropping whitespace when the context isn't know in DOMParser.parseSlice.

marijn
published 1.14.1 •

Changelog

Source

1.14.1 (2021-04-26)

Bug fixes

DOM parsing with preserveWhitespace: "full" will no longer ignore whitespace-only nodes.

marijn
published 1.14.0 •

Changelog

Source

1.14.0 (2021-04-06)

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.

marijn
published 1.13.3 •

Changelog

Source

1.13.3 (2021-02-04)

Bug fixes

Fix an issue where nested tags that match mark parser rules could cause the parser to apply marks in invalid places.

marijn
published 1.13.2 •

Changelog

Source

1.13.2 (2021-02-04)

Bug fixes

MarkType.removeFromSet now removes all instances of the mark, not just the first one.

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