@codemirror/view 6.15.3 → 6.17.0

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,31 @@
1
+ ## 6.17.0 (2023-08-28)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix a bug that broke hover tooltips when hovering over a widget.
6
+
7
+ ### New features
8
+
9
+ The new `EditorView.cspNonce` facet can be used to provide a Content Security Policy nonce for the library's generated CSS.
10
+
11
+ 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.
12
+
13
+ `EditorView.dispatch` now also accepts an array of transactions to be applied together in a single view update.
14
+
15
+ 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.
16
+
17
+ Input handlers are now passed an additional argument that they can use to retrieve the default transaction that would be applied for the insertion.
18
+
19
+ ## 6.16.0 (2023-07-31)
20
+
21
+ ### Bug fixes
22
+
23
+ Fix an issue that made the gutter not stick in place when the editor was in a right-to-left context.
24
+
25
+ ### New features
26
+
27
+ The new `EditorView.coordsForChar` method returns the client rectangle for a given character in the editor.
28
+
1
29
  ## 6.15.3 (2023-07-18)
2
30
 
3
31
  ### Bug fixes