Skip to content

Commit f2db20e

Browse files
committed
Expose window.config to MarkEdit.editorConfig
1 parent 4fec730 commit f2db20e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

markedit.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ import type * as lezerLr from '@lezer/lr';
2626
export const MarkEdit: Readonly<MarkEdit>;
2727

2828
export interface MarkEdit {
29+
/**
30+
* Configuration of the current editor.
31+
*/
32+
editorConfig: Record<string, unknown>;
33+
2934
/**
3035
* CodeMirror EditorView instance of the current editor.
3136
*/

0 commit comments

Comments
 (0)