@codemirror/view 6.16.0 → 6.17.1

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,35 @@
1
+ ## 6.17.1 (2023-08-31)
2
+
3
+ ### Bug fixes
4
+
5
+ Don't close the hover tooltip when the pointer moves over empty space caused by line breaks within the hovered range.
6
+
7
+ Fix a bug where on Chrome Android, if a virtual keyboard was slow to apply a change, the editor could end up dropping it.
8
+
9
+ Work around an issue where line-wise copy/cut didn't work in Firefox because the browser wasn't firing those events when nothing was selected.
10
+
11
+ Fix a crash triggered by the way some Android IME systems update the DOM.
12
+
13
+ Fix a bug that caused replacing a word by an emoji on Chrome Android to be treated as a backspace press.
14
+
15
+ ## 6.17.0 (2023-08-28)
16
+
17
+ ### Bug fixes
18
+
19
+ Fix a bug that broke hover tooltips when hovering over a widget.
20
+
21
+ ### New features
22
+
23
+ The new `EditorView.cspNonce` facet can be used to provide a Content Security Policy nonce for the library's generated CSS.
24
+
25
+ The new `EditorView.bidiIsolatedRanges` can be used to inform the editor about ranges styled as Unicode bidirection isolates, so that it can compute the character order correctly.
26
+
27
+ `EditorView.dispatch` now also accepts an array of transactions to be applied together in a single view update.
28
+
29
+ The new `dispatchTransactions` option to `new EditorView` now replaces the old (deprecated but still supported) `dispatch` option in a way that allows multiple transactions to be applied in one update.
30
+
31
+ Input handlers are now passed an additional argument that they can use to retrieve the default transaction that would be applied for the insertion.
32
+
1
33
  ## 6.16.0 (2023-07-31)
2
34
 
3
35
  ### Bug fixes