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

prosemirror-view

Package Overview
Dependencies
Maintainers
0
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.29.1

Diff

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.

marijn
published 1.26.5 •

Changelog

Source

1.26.5 (2022-07-07)

Bug fixes

Fix an issue where a composition happening at the same time as widget insertion/removal could corrupt the rendered DOM.

Fix a problem where coordsAtPos would look inside the DOM for atomic nodes, and sometimes return very odd positions that way.

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