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
283
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

1.31.5

Diff

Changelog

Source

1.31.5 (2023-06-19)

Bug fixes

Fix a bug where the editor accidentally blocked shift-delete when the whole document is selected.

Bring back workaround for an issue where Firefox draws the cursor in the wrong place in a code block.

Fix an issue where Shift-Insert pastes pasted plain text (because Shift was being held).

Fix an issue where selecting across paragraph and starting a composition would update the state as if Enter was pressed and disrupt the composition.

marijn
published 1.31.4 •

Changelog

Source

1.31.4 (2023-05-31)

Bug fixes

Make sure destroy is called on node views that are replaced by changing a node's markup.

marijn
published 1.31.3 •

Changelog

Source

1.31.3 (2023-05-17)

Bug fixes

Fix an issue that could cause the clipboard parser to create invalid slices when parsing content containing isolating nodes.

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

marijn
published 1.31.2 •

Changelog

Source

1.31.2 (2023-05-10)

Bug fixes

Fix a bug that broke backspace after empty lines in code blocks on Firefox.

Make it possible for the attributes prop to override the translate attribute.

marijn
published 1.31.1 •

Changelog

Source

1.31.1 (2023-05-01)

Bug fixes

Fix a bug that could cause a view crash on some kind of document updates.

marijn
published 1.31.0 •

Changelog

Source

1.31.0 (2023-04-26)

Bug fixes

Fix an issue where, when the browser failed to return a cursor for a set of coordinates (as in a shadow root in Chrome) the library's own algorithm worked poorly for coordinates between lines in a textblock.

Improve performance of changing a parent node (by type or attributes) without modifying its children by reusing the DOM of the child nodes.

Fix an issue where, in right-to-left context, the left and right arrow keys could get stuck on a selectable leaf node because the editor was moving the selection in the wrong direction.

Fix a regression in coordsAtPos when querying the position of a line wrap.

New features

Attach a "composition" meta field to transactions generated from DOM changes.

marijn
published 1.30.2 •

Changelog

Source

1.30.2 (2023-03-13)

Bug fixes

Fix an issue where posAtCoords could incorrectly return positions outside of a table when querying a coordinate inside it.

Update the type of the getPos callback to include undefined in its return type. Update broken link (ViewProps -> EditorProps) Also detect iOS enter when the new block type is a less common node

Fix an issue where Enter on iOS would sometimes not be handled by the library.

marijn
published 1.30.1 •

Changelog

Source

1.30.1 (2023-02-04)

Bug fixes

Fix a bug that caused posAtCoords to always return the position after a leaf node when querying a position on top of the node's element.

Fix an issue where, when putting focus on the editor by clicking at the very start of the document, the editor would restore a previous selection.

marijn
published 1.30.0 •

Changelog

Source

1.30.0 (2023-01-19)

New features

EditorView now has pasteHTML and pasteText methods which initiate paste handling.

marijn
published 1.29.2 •

Changelog

Source

1.29.2 (2023-01-17)

Bug fixes

Make sure enter key handlers are called on Chrome Android when the cursor is in a position where the native behavior of Enter doesn't change the document.

Fix a crash that could occur when starting a composition at the end of a non-inclusive mark.

Fix a bug in (vertical) endOfTextblock that caused it to return falsely positive results inside textblocks that had a separate contentDOM.

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