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
29

0.24.0

Diff

Changelog

Source

0.24.0 (2017-09-25)

New features

The clipboardTextParser prop is now passed a context position.

marijn
published 0.23.0 •

Changelog

Source

0.23.0 (2017-09-13)

Breaking changes

The onFocus, onBlur, and handleContextMenu props are no longer supported. You can achieve their effect with the handleDOMEvents prop.

Bug fixes

Fixes occasional crash when reading the selection in Firefox.

Putting a table cell on the clipboard now properly wraps it in a table.

The view will no longer scroll into view when receiving a state that isn't derived from its previous state.

New features

Transactions caused by a paste now have their "paste" meta property set to true.

Adds a new view prop, handleScrollToSelection to override the behavior of scrolling the selection into view.

The new editor prop clipboardTextSerializer allows you to override the way a piece of document is converted to clipboard text.

Adds the editor prop clipboardTextParser, which can be used to define your own parsing strategy for clipboard text content.

DecorationSet.find now supports passing a predicate to filter decorations by spec.

marijn
published 0.22.1 •

Changelog

Source

0.22.1 (2017-08-16)

Bug fixes

Invisible selections that don't cover any content (i.e., a cursor) are now properly hidden.

Initializing the editor view non-editable no longer causes a crash.

marijn
published 0.22.0 •

Changelog

Source

0.22.0 (2017-06-29)

Bug fixes

Fix an issue where moving the cursor through a text widget causes the editor to lose the selection in Chrome.

Fixes an issue where down-arrow in front of a widget would sometimes not cause any cursor motion on Chrome.

Destroying a mounted editor view no longer leaks event handlers.

Display updates for regular, non-composition input are now synchronous, which should reduce flickering when, for example, updating decorations in response to typing.

New features

The editor can now be initialized in a document other than the global document (say, an iframe).

Editor views now have a domAtPos method, which gives you the DOM position corresponding to a given document position.

marijn
published 0.21.2 •

marijn
published 0.21.1 •

Changelog

Source

0.21.1 (2017-05-09)

Bug fixes

Copying and pasting table cells on Edge no longer strips the table structure.

marijn
published 0.21.0 •

Changelog

Source

0.21.0 (2017-05-03)

Breaking changes

The associative option to widget decorations is no longer supported. To make a widget left-associative, set its side option to a negative number. associative will continue to work with a warning until the next release.

New features

Widget decorations now support a side option that controls which side of them the cursor is drawn, where they move when content is inserted at their position, and the order in which they appear relative to other widgets at the same position.

marijn
published 0.20.5 •

Changelog

Source

0.20.5 (2017-05-02)

Bug fixes

Fixes an issue where the DOM selection could be shown on the wrong side of hard break or image nodes.

marijn
published 0.20.4 •

Changelog

Source

0.20.4 (2017-04-24)

Bug fixes

Fix a bug that prevented the DOM selection from being updated when the new position was near the old one in some circumstances.

Stop interfering with alt-d keypresses on OS X.

Fix issue where reading a DOM change in a previously empty node could crash.

Fixes crash when reading a change that removed a decorated text node from the DOM.

marijn
published 0.20.3 •

Changelog

Source

0.20.3 (2017-04-12)

Bug fixes

Shift-pasting and pasting into a code block now does the right thing on IE and Edge.

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