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

1.29.2

Diff

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.

marijn
published 1.29.1 •

Changelog

Source

1.29.1 (2022-11-14)

Bug fixes

Fix a problem when returning decorations from an outer editor from the decorations prop.

marijn
published 1.29.0 •

Changelog

Source

1.29.0 (2022-10-12)

Bug fixes

Fix an issue where HTML comments added to the clipboard by the OS throw off the clipboard parser.

Make sure Chrome Android's native behavior on pressing Enter in an empty nested list item is replaced by the result of the editor's Enter key handler.

New features

The transformPastedHTML, transformPastedText, transformPasted, transformCopied, and clipboardTextSerializer props are now passed the view instance as last argument.

marijn
published 1.28.3 •

Changelog

Source

1.28.3 (2022-10-05)

Bug fixes

Work around the five-year-old Safari bug where it won't accurately report the selection inside shadow roots, which would break ProseMirror when put in shadow DOM.

marijn
published 1.28.2 •

Changelog

Source

1.28.2 (2022-09-24)

Bug fixes

Avoid a crash in selection updates in a hidden editor on Safari.

marijn
published 1.28.1 •

Changelog

Source

1.28.1 (2022-09-21)

Bug fixes

Fix an issue where the editor would reset its scroll position to the top of the document for any state reconfiguration, even if the document was unchanged.

marijn
published 1.28.0 •

Changelog

Source

1.28.0 (2022-09-09)

Bug fixes

Fix an issue where the editor wouldn't realize it was focused on IE when IE's resize controls are on an element inside the content.

New features

The new transformCopied prop can be used to transform a copied/cut slice before it is serialized to the clipboard.

marijn
published 1.27.2 •

Changelog

Source

1.27.2 (2022-08-19)

Bug fixes

Fix an issue where DecorationSet.map, given a mapping with multiple steps, could in some cases corrupt the decorations.

Stop calling handleClick when the mouse moved but failed to fire mousemove events (for example when dragging a scrollbar).

marijn
published 1.27.1 •

Changelog

Source

1.27.1 (2022-08-16)

Bug fixes

Fix a bug in DecorationSet.map that could cause invalid mapping when step maps contain multiple replaced ranges.

Make sure that when the editor receives focus via tab or calling .focus() on its DOM element, the existing selection is restored.

Avoid collapsing of whitespace in Firefox when the editor doesn't have white-space set to pre-wrap.

marijn
published 1.27.0 •

Changelog

Source

1.27.0 (2022-07-20)

Bug fixes

Fix a bug that in some situations caused composition to be disrupted on Chrome due to a workaround for another browser issue activating inappropriately.

New features

EditorProps now takes an optional type parameter that indicates the type of this in prop functions.

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