prosemirror-view
Advanced tools
Changelog
1.20.3 (2021-10-13)
Stop removing leading/trailing whitespace from pasted plain text.
Fix an issue that could cause invalid content to be produced when pasting HTML with isolating nodes in it.
Changelog
1.20.2 (2021-10-07)
Fix a crash when pasting whitespace-only content as text.
Changelog
1.20.1 (2021-09-09)
The library accidentally allowed node decorations on text nodes. It no longer does.
Fix an issue on Chrome and Safari where coordinates for positions between uneditable nodes and the end of a textblock would return zero-height rectangles.
Fix a bug where vertical endOfTextblock
queries could inappropriately return true when a small line height is used.
Changelog
1.20.0 (2021-09-03)
It is now possible to pass plugins directly to the view with the plugins
direct prop.
Changelog
1.19.3 (2021-08-20)
Fix an issue where generic styles for elements could cause separator nodes created by the editor to impact layout.
Fix an issue where moving to another tab and back could clear a node selection.
Changelog
1.19.2 (2021-08-19)
Avoid some bugs around drag-selecting by delaying synchronization between the DOM and the state selection until the end of the drag.
Changelog
1.19.1 (2021-08-16)
Fix another issue around copy-pasting table structure, causing inappropriate opening of copied cell selections.
Changelog
1.19.0 (2021-08-13)
Add a DOM attribute to the content element to avoid automatic translation services from messing with the editable text.
Fix a bug where copy-pasting table content sometimes carried along superfluous table markup.
Fix issue where end-of-textblock detection didn't use the correct selection when in a shadow root.
The DecorationSource
interface now exposes a map
method. Add a translate=no attribute to the editor element by default
Changelog
1.18.11 (2021-07-22)
Work around an issue where Chrome and Safari will replace some spaces with non-breaking spaces when putting HTML on the clipboard.
When pasting as plain text (shift-mod-v) apply the marks at the selection to the inserted content.
Fix flaky behavior when starting a composition with a selection that spans multiple blocks.