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

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Versions

1
2729

0.14.4

Diff

Changelog

Source

0.14.4 (2016-12-02)

Bug fixes

Fix issue where node decorations would stick around in the DOM after the decoration was removed.

Setting or removing a node selection in an unfocused editor now properly updates the DOM to show that selection.

marijn
published 0.14.3 •

marijn
published 0.14.2 •

Changelog

Source

0.14.2 (2016-11-30)

Bug fixes

FIX: Avoid unneeded selection resets which sometimes confused browsers.

marijn
published 0.14.1 •

Changelog

Source

0.14.1 (2016-11-29)

Bug fixes

Restores previously broken kludge that allows the cursor to appear after non-text content at the end of a line.

marijn
published 0.14.0 •

Changelog

Source

0.14.0 (2016-11-28)

Breaking changes

Wrapping decorations are now created using the nodeName property. The wrapper property is no longer supported.

The onUnmountDOM prop is no longer supported (use a node view with a destroy method instead).

The domSerializer prop is no longer supported. Use node views to configure editor-specific node representations.

New features

Widget decorations can now be given a key property to prevent unneccesary redraws.

The EditorView class now has a destroy method for cleaning up.

The handleClickOn prop and friends now receive a direct boolean argument that indicates whether the node was clicked directly.

Widget decorations now support a stopEvent option that can be used to control which DOM events that pass through them should be ignored by the editor view.

You can now specify custom node views for an editor view, which give you control over the way node of a given type are represented in the DOM. See the related RFC.

marijn
published 0.13.2 •

Changelog

Source

0.13.2 (2016-11-15)

Bug fixes

Fixes an issue where widget decorations in the middle of text nodes would sometimes disappear.

marijn
published 0.13.1 •

Changelog

Source

0.13.1 (2016-11-15)

Bug fixes

Fixes event handler crash (and subsequent bad default behavior) when pasting some types of external HTML into an editor.

marijn
published 0.13.0 •

Changelog

Source

0.13.0 (2016-11-11)

Breaking changes

Selecting nodes on OS X is now done with cmd-leftclick rather than ctrl-leftclick.

Bug fixes

Pasting text into a code block will now insert the raw text.

Widget decorations at the start or end of a textblock no longer block horizontal cursor motion through them.

Widget nodes at the end of textblocks are now reliably drawn during display updates.

New features

DecorationSet.map now takes an options object which allows you to specify an onRemove callback to be notified when remapping drops decorations.

The transformPastedHTML and transformPastedText props were (re-)added, and can be used to clean up pasted content.

marijn
published 0.12.2 •

Changelog

Source

0.12.2 (2016-11-02)

Bug fixes

Inline decorations that span across an empty textblock no longer crash the display drawing code.

marijn
published 0.12.1 •

Changelog

Source

0.12.1 (2016-11-01)

Bug fixes

Use a separate document to parse pasted HTML to better protect against cross-site scripting attacks.

Specifying multiple classes in a decoration now actually works.

Ignore empty inline decorations when building a decoration set.

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