New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Versions

1
1214
29

1.15.3

Diff
marijn
published 1.15.3 •

Changelog

Source

1.15.3 (2020-08-11)

Bug fixes

Work around a Firefox issue where the cursor is sometimes shown in the wrong place when directly after a <br> node.

The editor will now reset composition when stored marks are set on the state, so that the marks can be added to the next input.

Inline decorations are no longer applied to inline nodes that aren't leaves, only to the innermost layer.

marijn
published 1.15.2 •

Changelog

Source

1.15.2 (2020-07-09)

Bug fixes

Adjust the workaround for Chrome's DOM selection corruption bug to cover more cases.

marijn
published 1.15.1 •

Changelog

Source

1.15.1 (2020-07-09)

Bug fixes

Work around another issue where Chrome misreports the DOM selection.

marijn
published 1.15.0 •

Changelog

Source

1.15.0 (2020-06-24)

Bug fixes

Fix an issue where Enter on iOS might be handled twice on slow devices. Pass plain text flag to transformPastedText and clipboardTextParser props

Fix a bug where typing in front of a mark could in some circumstances cause the editor to discard the new content.

New features

The transformPastedText and clipboardTextParser props now receive an extra argument, plain, indicating whether the paste was forced as plain text.

marijn
published 1.14.13 •

Changelog

Source

1.14.13 (2020-06-05)

Bug fixes

Fix a bug where storing DOM nodes directly in widget decorations (not recommended) could cause the view to try and place the same DOM node multiple times.

marijn
published 1.14.12 •

Changelog

Source

1.14.12 (2020-06-03)

Bug fixes

Fix a crash when the editor tries to read a DOM selection outside of itself.

Improve the way inline decorations covering non-leaf inline nodes are rendered. Ensure elt is defined before accessing it in posAtCoords

Fix a crash in Safari when the browser's elementFromPoint returns null in posAtCoords. Handle case where Chrome flips the nesting order of edited inline nodes

Fix the issue of <a> marks on decorated text being lost during editing because Chrome changes the nesting order of the link and the decoration <span> element in the DOM.

Fix an issue where, when pressing enter with a bolded virtual keyboard suggestion on Android's Gboard, the cursor would stay on the wrong line.

marijn
published 1.14.11 •

Changelog

Source

1.14.11 (2020-05-19)

Bug fixes

Fix bug in the way the editor handles Cmd-arrow presses on macOS.

marijn
published 1.14.10 •

Changelog

Source

1.14.10 (2020-05-18)

Bug fixes

Fix an issue where the editor would override behavior for Cmd-arrow key presses on macOS the wrong way in some situations.

Fix handling of copy and paste in IE when top-level elements can't be focused.

marijn
published 1.14.9 •

Changelog

Source

1.14.9 (2020-05-06)

Bug fixes

Fix a crash on IE, which sets document.activeElement to null in some circumstances.

marijn
published 1.14.8 •

Changelog

Source

1.14.8 (2020-05-01)

Bug fixes

Work around an issue in Safari where you couldn't click inside a selected element to put the cursor there.

Fix enter at start of paragraph in iOS inserting two new paragraphs.

Scrolling the cursor into view now makes sure it doesn't end up below a scrollbar.