@prosekit/extensions 0.11.0 → 0.11.2

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.
Files changed (42) hide show
  1. package/dist/{drop-indicator-CCCaHFvw.js → drop-indicator-B8P652g2.js} +30 -3
  2. package/dist/prosekit-extensions-autocomplete.d.ts +47 -47
  3. package/dist/prosekit-extensions-blockquote.d.ts +11 -11
  4. package/dist/prosekit-extensions-bold.d.ts +16 -16
  5. package/dist/prosekit-extensions-code-block.d.ts +82 -82
  6. package/dist/prosekit-extensions-code.d.ts +16 -16
  7. package/dist/prosekit-extensions-commit.d.ts +20 -20
  8. package/dist/prosekit-extensions-doc.d.ts +4 -4
  9. package/dist/prosekit-extensions-drop-cursor.d.ts +20 -20
  10. package/dist/prosekit-extensions-drop-indicator.d.ts +77 -63
  11. package/dist/prosekit-extensions-drop-indicator.js +1 -1
  12. package/dist/prosekit-extensions-enter-rule.d.ts +57 -57
  13. package/dist/prosekit-extensions-file.d.ts +54 -54
  14. package/dist/prosekit-extensions-gap-cursor.d.ts +15 -15
  15. package/dist/prosekit-extensions-hard-break.d.ts +16 -16
  16. package/dist/prosekit-extensions-heading.d.ts +19 -19
  17. package/dist/prosekit-extensions-horizontal-rule.d.ts +6 -6
  18. package/dist/prosekit-extensions-image.d.ts +14 -14
  19. package/dist/prosekit-extensions-input-rule.d.ts +70 -70
  20. package/dist/prosekit-extensions-italic.d.ts +16 -16
  21. package/dist/prosekit-extensions-link.d.ts +24 -24
  22. package/dist/prosekit-extensions-list.d.ts +38 -38
  23. package/dist/prosekit-extensions-list.js +1 -1
  24. package/dist/prosekit-extensions-loro.d.ts +19 -19
  25. package/dist/prosekit-extensions-mark-rule.d.ts +17 -17
  26. package/dist/prosekit-extensions-mention.d.ts +10 -10
  27. package/dist/prosekit-extensions-mod-click-prevention.d.ts +7 -7
  28. package/dist/prosekit-extensions-paragraph.d.ts +23 -23
  29. package/dist/prosekit-extensions-placeholder.d.ts +20 -20
  30. package/dist/prosekit-extensions-readonly.d.ts +2 -2
  31. package/dist/prosekit-extensions-search.d.ts +36 -36
  32. package/dist/prosekit-extensions-strike.d.ts +16 -16
  33. package/dist/prosekit-extensions-table.d.ts +134 -134
  34. package/dist/prosekit-extensions-text-align.d.ts +29 -29
  35. package/dist/prosekit-extensions-text.d.ts +4 -4
  36. package/dist/prosekit-extensions-underline.d.ts +14 -14
  37. package/dist/prosekit-extensions-virtual-selection.d.ts +11 -11
  38. package/dist/prosekit-extensions-virtual-selection.js +1 -1
  39. package/dist/prosekit-extensions-yjs.d.ts +27 -27
  40. package/dist/{shiki-highlighter-chunk-NV2F_Qjl.d.ts → shiki-highlighter-chunk-D7gKY7Kr.d.ts} +1 -1
  41. package/dist/shiki-highlighter-chunk.d.ts +1 -1
  42. package/package.json +8 -8
@@ -3,52 +3,52 @@ import { Attrs } from "@prosekit/pm/model";
3
3
 
4
4
  //#region src/italic/italic-commands.d.ts
5
5
  /**
6
- * @internal
7
- */
6
+ * @internal
7
+ */
8
8
  type ItalicCommandsExtension = Extension<{
9
9
  Commands: {
10
10
  toggleItalic: [];
11
11
  };
12
12
  }>;
13
13
  /**
14
- * @internal
15
- */
14
+ * @internal
15
+ */
16
16
  declare function defineItalicCommands(): ItalicCommandsExtension;
17
17
  //#endregion
18
18
  //#region src/italic/italic-spec.d.ts
19
19
  /**
20
- * @internal
21
- */
20
+ * @internal
21
+ */
22
22
  type ItalicSpecExtension = Extension<{
23
23
  Marks: {
24
24
  italic: Attrs;
25
25
  };
26
26
  }>;
27
27
  /**
28
- * @internal
29
- */
28
+ * @internal
29
+ */
30
30
  declare function defineItalicSpec(): ItalicSpecExtension;
31
31
  //#endregion
32
32
  //#region src/italic/italic.d.ts
33
33
  /**
34
- * @internal
35
- */
34
+ * @internal
35
+ */
36
36
  type ItalicExtension = Union<[ItalicSpecExtension, ItalicCommandsExtension]>;
37
37
  /**
38
- * @public
39
- */
38
+ * @public
39
+ */
40
40
  declare function defineItalic(): ItalicExtension;
41
41
  //#endregion
42
42
  //#region src/italic/italic-input-rule.d.ts
43
43
  /**
44
- * @internal
45
- */
44
+ * @internal
45
+ */
46
46
  declare function defineItalicInputRule(): PlainExtension;
47
47
  //#endregion
48
48
  //#region src/italic/italic-keymap.d.ts
49
49
  /**
50
- * @internal
51
- */
50
+ * @internal
51
+ */
52
52
  declare function defineItalicKeymap(): PlainExtension;
53
53
  //#endregion
54
54
  export { type ItalicCommandsExtension, type ItalicExtension, type ItalicSpecExtension, defineItalic, defineItalicCommands, defineItalicInputRule, defineItalicKeymap, defineItalicSpec };
@@ -3,28 +3,28 @@ import { Extension, PlainExtension, Union } from "@prosekit/core";
3
3
  //#region src/link/index.d.ts
4
4
 
5
5
  /**
6
- * @public
7
- */
6
+ * @public
7
+ */
8
8
  interface LinkAttrs {
9
9
  href: string;
10
10
  target?: string | null;
11
11
  rel?: string | null;
12
12
  }
13
13
  /**
14
- * @internal
15
- */
14
+ * @internal
15
+ */
16
16
  type LinkSpecExtension = Extension<{
17
17
  Marks: {
18
18
  link: LinkAttrs;
19
19
  };
20
20
  }>;
21
21
  /**
22
- * @internal
23
- */
22
+ * @internal
23
+ */
24
24
  declare function defineLinkSpec(): LinkSpecExtension;
25
25
  /**
26
- * @internal
27
- */
26
+ * @internal
27
+ */
28
28
  type LinkCommandsExtension = Extension<{
29
29
  Commands: {
30
30
  addLink: [attrs: LinkAttrs];
@@ -35,30 +35,30 @@ type LinkCommandsExtension = Extension<{
35
35
  }>;
36
36
  declare function defineLinkCommands(): LinkCommandsExtension;
37
37
  /**
38
- * Apply link marks after pressing Space.
39
- *
40
- * @internal
41
- */
38
+ * Apply link marks after pressing Space.
39
+ *
40
+ * @internal
41
+ */
42
42
  declare function defineLinkInputRule(): PlainExtension;
43
43
  /**
44
- * Apply link marks after typing Enter.
45
- *
46
- * @internal
47
- */
44
+ * Apply link marks after typing Enter.
45
+ *
46
+ * @internal
47
+ */
48
48
  declare function defineLinkEnterRule(): PlainExtension;
49
49
  /**
50
- * Apply and remove link marks to the text during typing.
51
- *
52
- * @internal
53
- */
50
+ * Apply and remove link marks to the text during typing.
51
+ *
52
+ * @internal
53
+ */
54
54
  declare function defineLinkMarkRule(): PlainExtension;
55
55
  /**
56
- * @internal
57
- */
56
+ * @internal
57
+ */
58
58
  type LinkExtension = Union<[LinkSpecExtension, LinkCommandsExtension]>;
59
59
  /**
60
- * @public
61
- */
60
+ * @public
61
+ */
62
62
  declare function defineLink(): LinkExtension;
63
63
  //#endregion
64
64
  export { LinkAttrs, LinkCommandsExtension, LinkExtension, LinkSpecExtension, defineLink, defineLinkCommands, defineLinkEnterRule, defineLinkInputRule, defineLinkMarkRule, defineLinkSpec };
@@ -4,13 +4,13 @@ import { DedentListOptions, DedentListOptions as DedentListOptions$1, IndentList
4
4
  //#region src/list/list-commands.d.ts
5
5
 
6
6
  /**
7
- * @internal
8
- */
7
+ * @internal
8
+ */
9
9
  type ListCommandsExtension = Extension<{
10
10
  Commands: {
11
11
  dedentList: [options?: DedentListOptions$1];
12
12
  indentList: [options?: IndentListOptions$1];
13
- moveList: [direction: "up" | "down"];
13
+ moveList: [direction: 'up' | 'down'];
14
14
  splitList: [];
15
15
  toggleCollapsed: [options?: ToggleCollapsedOptions$1];
16
16
  unwrapList: [options?: UnwrapListOptions$1];
@@ -20,85 +20,85 @@ type ListCommandsExtension = Extension<{
20
20
  };
21
21
  }>;
22
22
  /**
23
- * Defines list commands.
24
- *
25
- * @internal
26
- */
23
+ * Defines list commands.
24
+ *
25
+ * @internal
26
+ */
27
27
  declare function defineListCommands(): ListCommandsExtension;
28
28
  //#endregion
29
29
  //#region src/list/list-input-rules.d.ts
30
30
  /**
31
- * @internal
32
- */
31
+ * @internal
32
+ */
33
33
  declare function defineListInputRules(): Extension;
34
34
  //#endregion
35
35
  //#region src/list/list-keymap.d.ts
36
36
  /**
37
- * Returns a extension that adds key bindings for list.
38
- *
39
- * @internal
40
- */
37
+ * Returns a extension that adds key bindings for list.
38
+ *
39
+ * @internal
40
+ */
41
41
  declare function defineListKeymap(): PlainExtension;
42
42
  //#endregion
43
43
  //#region src/list/list-plugins.d.ts
44
44
  /**
45
- * @internal
46
- */
45
+ * @internal
46
+ */
47
47
  declare function defineListPlugins(): PlainExtension;
48
48
  //#endregion
49
49
  //#region src/list/list-types.d.ts
50
50
  /**
51
- * The attributes of a list node.
52
- *
53
- * @public
54
- */
51
+ * The attributes of a list node.
52
+ *
53
+ * @public
54
+ */
55
55
  interface ListAttrs {
56
56
  /**
57
- * The kind of list node.
58
- */
59
- kind?: "bullet" | "ordered" | "task" | "toggle";
57
+ * The kind of list node.
58
+ */
59
+ kind?: 'bullet' | 'ordered' | 'task' | 'toggle';
60
60
  /**
61
- * The optional order of the list node.
62
- */
61
+ * The optional order of the list node.
62
+ */
63
63
  order?: number | null;
64
64
  /**
65
- * Whether the list node is checked if its `kind` is `"task"`.
66
- */
65
+ * Whether the list node is checked if its `kind` is `"task"`.
66
+ */
67
67
  checked?: boolean;
68
68
  /**
69
- * Whether the list node is collapsed if its `kind` is `"toggle"`.
70
- */
69
+ * Whether the list node is collapsed if its `kind` is `"toggle"`.
70
+ */
71
71
  collapsed?: boolean;
72
72
  }
73
73
  //#endregion
74
74
  //#region src/list/list-spec.d.ts
75
75
  /**
76
- * @internal
77
- */
76
+ * @internal
77
+ */
78
78
  type ListSpecExtension = Extension<{
79
79
  Nodes: {
80
80
  list: ListAttrs;
81
81
  };
82
82
  }>;
83
83
  /**
84
- * @internal
85
- */
84
+ * @internal
85
+ */
86
86
  declare function defineListSpec(): ListSpecExtension;
87
87
  //#endregion
88
88
  //#region src/list/list.d.ts
89
89
  /**
90
- * @internal
91
- */
90
+ * @internal
91
+ */
92
92
  type ListExtension = Union<[ListSpecExtension, ListCommandsExtension]>;
93
93
  /**
94
- * @public
95
- */
94
+ * @public
95
+ */
96
96
  declare function defineList(): ListExtension;
97
97
  //#endregion
98
98
  //#region src/list/list-serializer.d.ts
99
99
  /**
100
- * @internal
101
- */
100
+ * @internal
101
+ */
102
102
  declare function defineListSerializer(): PlainExtension;
103
103
  //#endregion
104
104
  export { type DedentListOptions, type IndentListOptions, type ListAttrs, type ListCommandsExtension, ListDOMSerializer, type ListExtension, type ListSpecExtension, type ToggleCollapsedOptions, type UnwrapListOptions, type WrapInListGetAttrs, defineList, defineListCommands, defineListInputRules, defineListKeymap, defineListPlugins, defineListSerializer, defineListSpec };
@@ -1,5 +1,5 @@
1
1
  import { defineInputRule } from "./input-rule-Gji4N7Oe.js";
2
- import { defineDropIndicator } from "./drop-indicator-CCCaHFvw.js";
2
+ import { defineDropIndicator } from "./drop-indicator-B8P652g2.js";
3
3
  import { defineClipboardSerializer, defineCommands, defineKeymap, defineNodeSpec, definePlugin, insertNode, union } from "@prosekit/core";
4
4
  import { Plugin } from "@prosekit/pm/state";
5
5
  import { chainCommands, deleteSelection } from "@prosekit/pm/commands";
@@ -6,8 +6,8 @@ import { PeerID } from "loro-crdt";
6
6
 
7
7
  //#region src/loro/loro-commands.d.ts
8
8
  /**
9
- * @internal
10
- */
9
+ * @internal
10
+ */
11
11
  type LoroCommandsExtension = Extension<{
12
12
  Commands: {
13
13
  undo: [];
@@ -37,33 +37,33 @@ declare function defineLoroUndoPlugin(options: LoroUndoPluginProps$1): PlainExte
37
37
  //#region src/loro/loro.d.ts
38
38
  interface LoroOptions {
39
39
  /**
40
- * The Loro instance handles the state of shared data.
41
- */
40
+ * The Loro instance handles the state of shared data.
41
+ */
42
42
  doc: LoroDocType;
43
43
  /**
44
- * The Awareness instance.
45
- */
44
+ * The Awareness instance.
45
+ */
46
46
  awareness: CursorAwareness;
47
47
  /**
48
- * Extra options for `LoroSyncPlugin`.
49
- */
50
- sync?: Omit<LoroSyncPluginProps$2, "doc">;
48
+ * Extra options for `LoroSyncPlugin`.
49
+ */
50
+ sync?: Omit<LoroSyncPluginProps$2, 'doc'>;
51
51
  /**
52
- * Extra options for the `LoroUndoPlugin`.
53
- */
54
- undo?: Omit<LoroUndoPluginProps$2, "doc">;
52
+ * Extra options for the `LoroUndoPlugin`.
53
+ */
54
+ undo?: Omit<LoroUndoPluginProps$2, 'doc'>;
55
55
  /**
56
- * Extra options for `LoroCursorPlugin`.
57
- */
58
- cursor?: Omit<LoroCursorOptions, "awareness">;
56
+ * Extra options for `LoroCursorPlugin`.
57
+ */
58
+ cursor?: Omit<LoroCursorOptions, 'awareness'>;
59
59
  }
60
60
  /**
61
- * @internal
62
- */
61
+ * @internal
62
+ */
63
63
  type LoroExtension = Union<[LoroCommandsExtension, PlainExtension]>;
64
64
  /**
65
- * @public
66
- */
65
+ * @public
66
+ */
67
67
  declare function defineLoro(options: LoroOptions): LoroExtension;
68
68
  //#endregion
69
69
  export { type LoroCursorOptions, type LoroExtension, type LoroOptions, type LoroSyncPluginProps, type LoroUndoPluginProps, defineLoro, defineLoroCommands, defineLoroCursorPlugin, defineLoroKeymap, defineLoroSyncPlugin, defineLoroUndoPlugin };
@@ -4,34 +4,34 @@ import { Attrs, MarkType } from "@prosekit/pm/model";
4
4
  //#region src/mark-rule/types.d.ts
5
5
 
6
6
  /**
7
- * The options for {@link defineMarkRule}.
8
- *
9
- * @public
10
- */
7
+ * The options for {@link defineMarkRule}.
8
+ *
9
+ * @public
10
+ */
11
11
  interface MarkRuleOptions {
12
12
  /**
13
- * The regular expression to match against. It must has a `g` flag to match
14
- * all instances of the mark.
15
- */
13
+ * The regular expression to match against. It must has a `g` flag to match
14
+ * all instances of the mark.
15
+ */
16
16
  regex: RegExp;
17
17
  /**
18
- * The mark type to apply to the matched text.
19
- */
18
+ * The mark type to apply to the matched text.
19
+ */
20
20
  type: string | MarkType;
21
21
  /**
22
- * Attributes to set on the mark. If a function is provided, it will be called
23
- * with the matched result from the regular expression.
24
- *
25
- * @default null
26
- */
22
+ * Attributes to set on the mark. If a function is provided, it will be called
23
+ * with the matched result from the regular expression.
24
+ *
25
+ * @default null
26
+ */
27
27
  attrs?: Attrs | null | ((match: RegExpMatchArray) => Attrs | null);
28
28
  }
29
29
  //#endregion
30
30
  //#region src/mark-rule/mark-rule.d.ts
31
31
  /**
32
- * A mark rule is something that can automatically apply marks to text if it
33
- * matches a certain pattern, and remove them if it doesn't match anymore.
34
- */
32
+ * A mark rule is something that can automatically apply marks to text if it
33
+ * matches a certain pattern, and remove them if it doesn't match anymore.
34
+ */
35
35
  declare function defineMarkRule(options: MarkRuleOptions): PlainExtension;
36
36
  //#endregion
37
37
  export { type MarkRuleOptions, defineMarkRule };
@@ -7,20 +7,20 @@ interface MentionAttrs {
7
7
  kind: string;
8
8
  }
9
9
  /**
10
- * @internal
11
- */
10
+ * @internal
11
+ */
12
12
  type MentionSpecExtension = Extension<{
13
13
  Nodes: {
14
14
  mention: MentionAttrs;
15
15
  };
16
16
  }>;
17
17
  /**
18
- * @public
19
- */
18
+ * @public
19
+ */
20
20
  declare function defineMentionSpec(): MentionSpecExtension;
21
21
  /**
22
- * @internal
23
- */
22
+ * @internal
23
+ */
24
24
  type MentionCommandsExtension = Extension<{
25
25
  Commands: {
26
26
  insertMention: [attrs: MentionAttrs];
@@ -28,12 +28,12 @@ type MentionCommandsExtension = Extension<{
28
28
  }>;
29
29
  declare function defineMentionCommands(): MentionCommandsExtension;
30
30
  /**
31
- * @internal
32
- */
31
+ * @internal
32
+ */
33
33
  type MentionExtension = Union<[MentionSpecExtension, MentionCommandsExtension]>;
34
34
  /**
35
- * @public
36
- */
35
+ * @public
36
+ */
37
37
  declare function defineMention(): MentionExtension;
38
38
  //#endregion
39
39
  export { MentionAttrs, MentionCommandsExtension, MentionExtension, MentionSpecExtension, defineMention, defineMentionCommands, defineMentionSpec };
@@ -3,15 +3,15 @@ import { PlainExtension } from "@prosekit/core";
3
3
  //#region src/mod-click-prevention/index.d.ts
4
4
 
5
5
  /**
6
- * @internal
7
- */
6
+ * @internal
7
+ */
8
8
  type ModClickPreventionExtension = PlainExtension;
9
9
  /**
10
- * By default, clicking a node while holding the mod key will select the node. This
11
- * extension disables that behavior.
12
- *
13
- * @public
14
- */
10
+ * By default, clicking a node while holding the mod key will select the node. This
11
+ * extension disables that behavior.
12
+ *
13
+ * @public
14
+ */
15
15
  declare function defineModClickPrevention(): ModClickPreventionExtension;
16
16
  //#endregion
17
17
  export { ModClickPreventionExtension, defineModClickPrevention };
@@ -4,57 +4,57 @@ import { Attrs } from "@prosekit/pm/model";
4
4
 
5
5
  //#region src/paragraph/paragraph-commands.d.ts
6
6
  /**
7
- * @internal
8
- */
7
+ * @internal
8
+ */
9
9
  type ParagraphCommandsExtension = Extension<{
10
10
  Commands: {
11
11
  setParagraph: [];
12
12
  };
13
13
  }>;
14
14
  /**
15
- * @internal
16
- */
15
+ * @internal
16
+ */
17
17
 
18
18
  /**
19
- * @internal
20
- */
19
+ * @internal
20
+ */
21
21
  declare function defineParagraphCommands(): ParagraphCommandsExtension;
22
22
  //#endregion
23
23
  //#region src/paragraph/paragraph-spec.d.ts
24
24
  /**
25
- * @internal
26
- */
25
+ * @internal
26
+ */
27
27
  type ParagraphSpecExtension = Extension<{
28
28
  Nodes: {
29
29
  paragraph: Attrs;
30
30
  };
31
31
  }>;
32
32
  /**
33
- * @internal
34
- *
35
- * Defines a paragraph node spec.
36
- */
33
+ * @internal
34
+ *
35
+ * Defines a paragraph node spec.
36
+ */
37
37
  declare function defineParagraphSpec(): ParagraphSpecExtension;
38
38
  //#endregion
39
39
  //#region src/paragraph/paragraph.d.ts
40
40
  /**
41
- * @internal
42
- */
41
+ * @internal
42
+ */
43
43
  type ParagraphExtension = Union<[ParagraphSpecExtension, ParagraphCommandsExtension]>;
44
44
  /**
45
- * @public
46
- *
47
- * Defines a paragraph node.
48
- *
49
- * The paragraph node spec has the highest priority, because it should be the
50
- * default block node for most cases.
51
- */
45
+ * @public
46
+ *
47
+ * Defines a paragraph node.
48
+ *
49
+ * The paragraph node spec has the highest priority, because it should be the
50
+ * default block node for most cases.
51
+ */
52
52
  declare function defineParagraph(): ParagraphExtension;
53
53
  //#endregion
54
54
  //#region src/paragraph/paragraph-keymap.d.ts
55
55
  /**
56
- * @internal
57
- */
56
+ * @internal
57
+ */
58
58
  declare function defineParagraphKeymap(): PlainExtension;
59
59
  //#endregion
60
60
  export { type ParagraphCommandsExtension, type ParagraphExtension, type ParagraphSpecExtension, defineParagraph, defineParagraphCommands, defineParagraphKeymap, defineParagraphSpec };
@@ -4,30 +4,30 @@ import { EditorState } from "@prosekit/pm/state";
4
4
  //#region src/placeholder/index.d.ts
5
5
  interface PlaceholderOptions {
6
6
  /**
7
- * The placeholder to use. It can be a static string or a function that
8
- * receives the current editor state and returns a string.
9
- */
7
+ * The placeholder to use. It can be a static string or a function that
8
+ * receives the current editor state and returns a string.
9
+ */
10
10
  placeholder: string | ((state: EditorState) => string);
11
11
  /**
12
- * By default, the placeholder text will be shown whenever the current text
13
- * cursor is in an empty text node and it's not inside a code block or a
14
- * table node.
15
- *
16
- * If you only want to show the placeholder when the whole doc is empty, you
17
- * can set this option to 'doc'.
18
- *
19
- * You can also pass a function that receives the current editor state and
20
- * returns a boolean value to determine whether the placeholder should be
21
- * shown.
22
- *
23
- * @default 'block'
24
- */
25
- strategy?: "doc" | "block" | ((state: EditorState) => boolean);
12
+ * By default, the placeholder text will be shown whenever the current text
13
+ * cursor is in an empty text node and it's not inside a code block or a
14
+ * table node.
15
+ *
16
+ * If you only want to show the placeholder when the whole doc is empty, you
17
+ * can set this option to 'doc'.
18
+ *
19
+ * You can also pass a function that receives the current editor state and
20
+ * returns a boolean value to determine whether the placeholder should be
21
+ * shown.
22
+ *
23
+ * @default 'block'
24
+ */
25
+ strategy?: 'doc' | 'block' | ((state: EditorState) => boolean);
26
26
  }
27
27
  /**
28
- * Add a placeholder text to the editor when the current block or document is
29
- * empty.
30
- */
28
+ * Add a placeholder text to the editor when the current block or document is
29
+ * empty.
30
+ */
31
31
  declare function definePlaceholder(options: PlaceholderOptions): PlainExtension;
32
32
  //#endregion
33
33
  export { PlaceholderOptions, definePlaceholder };
@@ -3,8 +3,8 @@ import { PlainExtension } from "@prosekit/core";
3
3
  //#region src/readonly/index.d.ts
4
4
 
5
5
  /**
6
- * Make the editor read-only.
7
- */
6
+ * Make the editor read-only.
7
+ */
8
8
  declare function defineReadonly(): PlainExtension;
9
9
  //#endregion
10
10
  export { defineReadonly };