@codemirror/view 0.19.8 → 0.19.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,53 @@
1
+ ## 0.19.12 (2021-11-04)
2
+
3
+ ### Bug fixes
4
+
5
+ Make sure the workaround for the lost virtual keyboard on Chrome Android also works on slower phones. Slight style change in beforeinput handler
6
+
7
+ Avoid failure cases in viewport-based rendering of very long lines.
8
+
9
+ ## 0.19.11 (2021-11-03)
10
+
11
+ ### Breaking changes
12
+
13
+ `EditorView.scrollPosIntoView` has been deprecated. Use the `EditorView.scrollTo` effect instead.
14
+
15
+ ### New features
16
+
17
+ The new `EditorView.centerOn` effect can be used to scroll a given range to the center of the view.
18
+
19
+ ## 0.19.10 (2021-11-02)
20
+
21
+ ### Bug fixes
22
+
23
+ Don't crash when `IntersectionObserver` fires its callback without any records. Try to handle some backspace issues on Chrome Android
24
+
25
+ Using backspace near uneditable widgets on Chrome Android should now be more reliable.
26
+
27
+ Work around a number of browser bugs by always rendering zero-width spaces around in-content widgets, so that browsers will treat the positions near them as valid cursor positions and not try to run composition across widget boundaries.
28
+
29
+ Work around bogus composition changes created by Chrome Android after handled backspace presses.
30
+
31
+ Work around an issue where tapping on an uneditable node in the editor would sometimes fail to show the virtual keyboard on Chrome Android.
32
+
33
+ Prevent translation services from translating the editor content. Show direction override characters as special chars by default
34
+
35
+ `specialChars` will now, by default, replace direction override chars, to mitigate https://trojansource.codes/ attacks.
36
+
37
+ ### New features
38
+
39
+ The editor view will, if `parent` is given but `root` is not, derive the root from the parent element.
40
+
41
+ Line decorations now accept a `class` property to directly add DOM classes to the line.
42
+
43
+ ## 0.19.9 (2021-10-01)
44
+
45
+ ### Bug fixes
46
+
47
+ Fix an issue where some kinds of reflows in the surrounding document could move unrendered parts of the editor into view without the editor noticing and updating its viewport.
48
+
49
+ Fix an occasional crash in the selection drawing extension.
50
+
1
51
  ## 0.19.8 (2021-09-26)
2
52
 
3
53
  ### Bug fixes