prosemirror-view
Advanced tools
Changelog
1.15.3 (2020-08-11)
Work around a Firefox issue where the cursor is sometimes shown in the wrong place when directly after a <br>
node.
The editor will now reset composition when stored marks are set on the state, so that the marks can be added to the next input.
Inline decorations are no longer applied to inline nodes that aren't leaves, only to the innermost layer.
Changelog
1.15.2 (2020-07-09)
Adjust the workaround for Chrome's DOM selection corruption bug to cover more cases.
Changelog
1.15.1 (2020-07-09)
Work around another issue where Chrome misreports the DOM selection.
Changelog
1.15.0 (2020-06-24)
Fix an issue where Enter on iOS might be handled twice on slow devices. Pass plain text flag to transformPastedText and clipboardTextParser props
Fix a bug where typing in front of a mark could in some circumstances cause the editor to discard the new content.
The transformPastedText
and clipboardTextParser
props now receive an extra argument, plain
, indicating whether the paste was forced as plain text.
Changelog
1.14.13 (2020-06-05)
Fix a bug where storing DOM nodes directly in widget decorations (not recommended) could cause the view to try and place the same DOM node multiple times.
Changelog
1.14.12 (2020-06-03)
Fix a crash when the editor tries to read a DOM selection outside of itself.
Improve the way inline decorations covering non-leaf inline nodes are rendered. Ensure elt is defined before accessing it in posAtCoords
Fix a crash in Safari when the browser's elementFromPoint
returns null in posAtCoords
. Handle case where Chrome flips the nesting order of edited inline nodes
Fix the issue of <a>
marks on decorated text being lost during editing because Chrome changes the nesting order of the link and the decoration <span>
element in the DOM.
Fix an issue where, when pressing enter with a bolded virtual keyboard suggestion on Android's Gboard, the cursor would stay on the wrong line.
Changelog
1.14.11 (2020-05-19)
Fix bug in the way the editor handles Cmd-arrow presses on macOS.
Changelog
1.14.10 (2020-05-18)
Fix an issue where the editor would override behavior for Cmd-arrow key presses on macOS the wrong way in some situations.
Fix handling of copy and paste in IE when top-level elements can't be focused.
Changelog
1.14.9 (2020-05-06)
Fix a crash on IE, which sets document.activeElement
to null in some circumstances.
Changelog
1.14.8 (2020-05-01)
Work around an issue in Safari where you couldn't click inside a selected element to put the cursor there.
Fix enter at start of paragraph in iOS inserting two new paragraphs.
Scrolling the cursor into view now makes sure it doesn't end up below a scrollbar.