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

prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-transform - npm Package Versions

23
8

1.10.2

Diff

Changelog

Source

1.10.2 (2024-10-11)

Bug fixes

Allow Transform.join to clear incompatible inline content from the node after the join.

marijn
published 1.10.1 •

Changelog

Source

1.10.1 (2024-10-10)

Bug fixes

Fix an issue where a deleteRange heuristic could produce unexpected deletion shapes.

Make Transform.join convert between newlines and line break replacement nodes when necessary.

marijn
published 1.10.0 •

Changelog

Source

1.10.0 (2024-08-13)

New features

setBlockType can now take a function that computes attributes for the new nodes, instead of a static attribute object.

marijn
published 1.9.0 •

Changelog

Source

1.9.0 (2024-05-06)

Bug fixes

Fix an issue in ReplaceAroundStep.map that broke mapping steps that wrapped content over steps that inserted content at the start of the step.

New features

setBlockMarkup now uses the linebreak equivalent node defined in the schema.

marijn
published 1.8.0 •

Changelog

Source

1.8.0 (2023-10-01)

New features

The new DocAttrStep can be used to set attributes on the document's top node.

Transform.setDocAttribute can be used to create a DocAttrStep in a transform.

marijn
published 1.7.5 •

Changelog

Source

1.7.5 (2023-08-22)

Bug fixes

Fix a failure in replaceRange to drop wrapper nodes when the same wrapper is already present.

marijn
published 1.7.4 •

Changelog

Source

1.7.4 (2023-07-28)

Bug fixes

When using setBlockType to convert a code block to a type of node that doesn't contain code, replace newlines with spaces.

marijn
published 1.7.3 •

Changelog

Source

1.7.3 (2023-06-01)

Bug fixes

Fix a bug in canSplit that made it interpret the typesAfter argument incorrectly on splits of depth greater than 1.

marijn
published 1.7.2 •

Changelog

Source

1.7.2 (2023-05-17)

Bug fixes

Include CommonJS type declarations in the package to please new TypeScript resolution settings.

marijn
published 1.7.1 •

Changelog

Source

1.7.1 (2023-01-20)

Bug fixes

Keep content in isolating nodes inside their parent when fitting a replace step.

Transform.setNodeMarkup will no longer clear the node's marks when it isn't given an array of marks.

23
8
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