@codemirror/view
Advanced tools
Changelog
0.17.10 (2021-02-22)
Long words without spaces, when line-wrapping is enabled, are now properly broken.
Fix the horizontal position of selections drawn by drawSelection
in right-to-left editors with a scrollbar.
Changelog
0.17.9 (2021-02-18)
Fix an issue where pasting linewise at the start of a line left the cursor before the inserted content.
Changelog
0.17.8 (2021-02-16)
Fix a problem where the DOM selection and the editor state could get out of sync in non-editable mode.
Fix a crash when the editor was hidden on Safari, due to getClientRects
returning an empty list.
Prevent Firefox from making the scrollable element keyboard-focusable.
Changelog
0.17.7 (2021-01-25)
Add an EditorView.announce
state effect that can be used to conveniently provide screen reader announcements.
Changelog
0.17.6 (2021-01-22)
Avoid creating very high scroll containers for large documents so that we don't overflow the DOM's fixed-precision numbers.
Changelog
0.17.5 (2021-01-15)
Fix a bug that would create space-filling placeholders with incorrect height when document is very large.
Changelog
0.17.4 (2021-01-14)
The drawSelection
extension will now reuse cursor DOM nodes when the number of cursors stays the same, allowing some degree of cursor transition animation.
Makes highlighted special characters styleable (``) and fix their default look in dark themes to have appropriate contrast.
Adds a new MatchDecorator
helper class which can be used to easily maintain decorations on content that matches a regular expression.
Changelog
0.17.2 (2021-01-04)
Work around Chrome problem where the native shift-enter behavior inserts two line breaks.
Make bracket closing and bracket pair removing more reliable on Android.
Fix bad cursor position and superfluous change transactions after pressing enter when in a composition on Android.
Fix issue where the wrong character was deleted when backspacing out a character before an identical copy of that character on Android.