@codemirror/view 6.26.4-edit-context.1 → 6.27.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 +24 -0
- package/dist/index.cjs +141 -256
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +141 -256
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1092,6 +1092,18 @@ declare class EditorView {
|
|
|
1092
1092
|
*/
|
|
1093
1093
|
scrollSnapshot(): StateEffect<ScrollTarget>;
|
|
1094
1094
|
/**
|
|
1095
|
+
Enable or disable tab-focus mode, which disables key bindings
|
|
1096
|
+
for Tab and Shift-Tab, letting the browser's default
|
|
1097
|
+
focus-changing behavior go through instead. This is useful to
|
|
1098
|
+
prevent trapping keyboard users in your editor.
|
|
1099
|
+
|
|
1100
|
+
Without argument, this toggles the mode. With a boolean, it
|
|
1101
|
+
enables (true) or disables it (false). Given a number, it
|
|
1102
|
+
temporarily enables the mode until that number of milliseconds
|
|
1103
|
+
have passed or another non-Tab key is pressed.
|
|
1104
|
+
*/
|
|
1105
|
+
setTabFocusMode(to?: boolean | number): void;
|
|
1106
|
+
/**
|
|
1095
1107
|
Facet to add a [style
|
|
1096
1108
|
module](https://github.com/marijnh/style-mod#documentation) to
|
|
1097
1109
|
an editor view. The view will ensure that the module is
|
package/dist/index.d.ts
CHANGED
|
@@ -1092,6 +1092,18 @@ declare class EditorView {
|
|
|
1092
1092
|
*/
|
|
1093
1093
|
scrollSnapshot(): StateEffect<ScrollTarget>;
|
|
1094
1094
|
/**
|
|
1095
|
+
Enable or disable tab-focus mode, which disables key bindings
|
|
1096
|
+
for Tab and Shift-Tab, letting the browser's default
|
|
1097
|
+
focus-changing behavior go through instead. This is useful to
|
|
1098
|
+
prevent trapping keyboard users in your editor.
|
|
1099
|
+
|
|
1100
|
+
Without argument, this toggles the mode. With a boolean, it
|
|
1101
|
+
enables (true) or disables it (false). Given a number, it
|
|
1102
|
+
temporarily enables the mode until that number of milliseconds
|
|
1103
|
+
have passed or another non-Tab key is pressed.
|
|
1104
|
+
*/
|
|
1105
|
+
setTabFocusMode(to?: boolean | number): void;
|
|
1106
|
+
/**
|
|
1095
1107
|
Facet to add a [style
|
|
1096
1108
|
module](https://github.com/marijnh/style-mod#documentation) to
|
|
1097
1109
|
an editor view. The view will ensure that the module is
|