Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-model

Package Overview
Dependencies
Maintainers
1
Versions
85
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.4.0

Diff

Changelog

Source

1.4.0 (2018-03-22)

New features

ContentMatch.defaultType, a way to get a matching node type at a content match position, is now public.

marijn
published 1.3.0 •

Changelog

Source

1.3.0 (2018-03-22)

New features

ContentMatch objects now have an edgeCount property and an edge method, providing direct access to the finite automaton structure.

marijn
published 1.2.2 •

Changelog

Source

1.2.2 (2018-03-15)

Bug fixes

Throw errors, rather than constructing invalid objects, when deserializing from invalid JSON data.

marijn
published 1.2.1 •

Changelog

Source

1.2.1 (2018-03-15)

Bug fixes

Content expressions with text nodes in required positions now raise the appropriate error about being unable to generate such nodes.

marijn
published 1.2.0 •

Changelog

Source

1.2.0 (2018-03-14)

Bug fixes

rangeHasMark now always returns false for empty ranges.

The DOM renderer no longer needlessly splits mark nodes when starting a non-rendered mark.

New features

DOMSerializer now allows DOM specs for marks to have holes in them, to specify the precise position where their content should be rendered.

The base position parameter to Node.nodesBetween and Fragment.nodesBetween is now part of the public interface.

marijn
published 1.1.0 •

Changelog

Source

1.1.0 (2018-01-05)

New features

Slice.maxOpen now has a second argument that can be used to prevent it from opening isolating nodes.

marijn
published 1.0.1 •

Changelog

Source

1.0.1 (2017-11-10)

Bug fixes

ReplaceError instances now properly inherit from Error.

marijn
published 1.0.0 •

Changelog

Source

1.0.0 (2017-10-13)

New features

ParseRule.context may now include multiple, pipe-separated context expressions.

marijn
published 0.24.0 •

marijn
published 0.23.1 •

Changelog

Source

0.23.1 (2017-09-21)

Bug fixes

NodeType.allowsMarks and allowedMarks now actually work for nodes that allow only specific marks.

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