prosemirror-view
Advanced tools
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.
Changelog
1.18.10 (2021-07-15)
Fix an issue where dragging from just outside a draggable node on Chrome would cause odd dragging behavior.
Changelog
1.18.9 (2021-07-11)
Fix a bug in the previous release where handleClickOn
wasn't fired anymore for clicks with the middle or right mouse button.
Changelog
1.18.8 (2021-06-23)
Work around a Safari bug where it draws the cursor at the start of the line when it is after an uneditable node at the end of the line.
Fix an issue where the DOM could get out of sync when editing decorated text.
Work around an issue where Firefox draws the cursor on the wrong line when after a newline.
Fix a bug where double-clicking with the left mouse button and then pressing another mouse button was treated as a triple click.
Changelog
1.18.7 (2021-05-20)
Fix a bug where clicking on a textblock that had a node-selected parent didn't set a cursor selection.
Fix a bug that caused a workaround for a Chrome Android issue to not work correctly, leading to bad cursor placement after some types of text input.