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

1
68

0.21.1

Diff

Changelog

Source

0.21.1 (2017-05-16)

Bug fixes

addMark no longer assumes marks always exclude only themselves.

replaceRange](https://prosemirror.net/docs/ref/version/0.21.0.html#transform.Transform.replaceRange) and deleteRange will no longer expand the range across isolating node boundaries.

marijn
published 0.21.0 •

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2017-04-03)

Bug fixes

Fixes issue where replacing would sometimes unexpectedly split nodes.

marijn
published 0.19.0 •

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2017-02-24)

New features

Transform.setNodeType now takes an optional argument to set the new node's attributes.

Steps now provide an offset method, which makes it possible to create a copy the step with its position offset by a given amount.

docChanged is now a property on the Transform class, rather than its Transaction subclass.

Mapping instances now have invert and appendMappingInverted methods to make mapping through them in reverse easier.

marijn
published 0.17.0 •

marijn
published 0.16.0 •

marijn
published 0.15.0 •

Changelog

Source

0.15.0 (2016-12-10)

Bug fixes

Fix bug where pasted/inserted content would sometimes get incorrectly closed at the right side.

marijn
published 0.14.0 •

marijn
published 0.13.0 •

Changelog

Source

0.13.0 (2016-11-11)

Bug fixes

Fix issue where Transform.replace would, in specific circumstances, unneccessarily drop content.

New features

The new Transform method replaceRange, replaceRangeWith, and deleteRange provide a way to replace and delete content in a 'do what I mean' way, automatically expanding the replaced region over empty parent nodes and including the parent nodes in the inserted content when appropriate.

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