md-editor-v3 4.3.0-beta.7 → 4.4.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/lib/es/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { default as C } from "./MdEditor.mjs";
2
- import { M as N } from "./chunks/index.mjs";
3
- import { default as h } from "./NormalToolbar.mjs";
4
- import { D as k } from "./chunks/index2.mjs";
5
- import { default as y } from "./ModalToolbar.mjs";
6
- import { default as A } from "./MdCatalog.mjs";
7
- import { c as F } from "./chunks/config.mjs";
8
- import { default as H } from "./MdModal.mjs";
1
+ import { default as v } from "./MdEditor.mjs";
2
+ import { M as E } from "./chunks/index.mjs";
3
+ import { default as P } from "./NormalToolbar.mjs";
4
+ import { D as j } from "./chunks/index2.mjs";
5
+ import { default as q } from "./ModalToolbar.mjs";
6
+ import { default as z } from "./MdCatalog.mjs";
7
+ import { c as B } from "./chunks/config.mjs";
8
+ import { default as G } from "./MdModal.mjs";
9
9
  import "vue";
10
10
  import "@vavt/util";
11
11
  import "./chunks/index3.mjs";
@@ -14,7 +14,6 @@ import "codemirror";
14
14
  import "@codemirror/view";
15
15
  import "@codemirror/language-data";
16
16
  import "@codemirror/lang-markdown";
17
- import "@codemirror/lang-html";
18
17
  import "@codemirror/commands";
19
18
  import "@codemirror/language";
20
19
  import "@lezer/highlight";
@@ -28,12 +27,12 @@ import "markdown-it-image-figures";
28
27
  import "markdown-it-task-lists";
29
28
  import "lru-cache";
30
29
  export {
31
- k as DropdownToolbar,
32
- A as MdCatalog,
33
- C as MdEditor,
34
- H as MdModal,
35
- N as MdPreview,
36
- y as ModalToolbar,
37
- h as NormalToolbar,
38
- F as config
30
+ j as DropdownToolbar,
31
+ z as MdCatalog,
32
+ v as MdEditor,
33
+ G as MdModal,
34
+ E as MdPreview,
35
+ q as ModalToolbar,
36
+ P as NormalToolbar,
37
+ B as config
39
38
  };
@@ -172,6 +172,10 @@ declare const Editor: import("vue").DefineComponent<{
172
172
  type: import("vue").PropType<boolean>;
173
173
  default: boolean;
174
174
  };
175
+ noImgZoomIn: {
176
+ type: import("vue").PropType<boolean>;
177
+ default: boolean;
178
+ };
175
179
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import('./type').EditorEmits, "onChange" | "onFocus" | "onBlur" | "onInput" | "onError" | "onSave" | "onUploadImg" | "onHtmlChanged" | "onGetCatalog" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
176
180
  onChange: {
177
181
  type: import("vue").PropType<import('./type').ChangeEvent>;
@@ -346,6 +350,10 @@ declare const Editor: import("vue").DefineComponent<{
346
350
  type: import("vue").PropType<boolean>;
347
351
  default: boolean;
348
352
  };
353
+ noImgZoomIn: {
354
+ type: import("vue").PropType<boolean>;
355
+ default: boolean;
356
+ };
349
357
  }>> & {
350
358
  onOnChange?: ((...args: any[]) => any) | undefined;
351
359
  onOnFocus?: ((...args: any[]) => any) | undefined;
@@ -387,5 +395,6 @@ declare const Editor: import("vue").DefineComponent<{
387
395
  codeStyleReverse: boolean;
388
396
  codeStyleReverseList: string[];
389
397
  noHighlight: boolean;
398
+ noImgZoomIn: boolean;
390
399
  }>;
391
400
  export default Editor;
@@ -33,6 +33,7 @@ declare const _default: {
33
33
  codeStyleReverse: boolean;
34
34
  codeStyleReverseList: string[];
35
35
  noHighlight: boolean;
36
+ noImgZoomIn: boolean;
36
37
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
37
38
  onChange: {
38
39
  type: import("vue").PropType<import("./type").ChangeEvent>;
@@ -207,6 +208,10 @@ declare const _default: {
207
208
  type: import("vue").PropType<boolean>;
208
209
  default: boolean;
209
210
  };
211
+ noImgZoomIn: {
212
+ type: import("vue").PropType<boolean>;
213
+ default: boolean;
214
+ };
210
215
  }>> & {
211
216
  onOnChange?: ((...args: any[]) => any) | undefined;
212
217
  onOnFocus?: ((...args: any[]) => any) | undefined;
@@ -218,7 +223,7 @@ declare const _default: {
218
223
  onOnHtmlChanged?: ((...args: any[]) => any) | undefined;
219
224
  onOnGetCatalog?: ((...args: any[]) => any) | undefined;
220
225
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
221
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "editorId" | "class" | "style" | "mdHeadingId" | "theme" | "pageFullscreen" | "preview" | "htmlPreview" | "toolbars" | "toolbarsExclude" | "noPrettier" | "tabWidth" | "tableShape" | "placeholder" | "footers" | "scrollAuto" | "showToolbarName" | "modelValue" | "language" | "showCodeRowNumber" | "previewTheme" | "sanitize" | "noMermaid" | "noKatex" | "codeTheme" | "formatCopiedText" | "codeStyleReverse" | "codeStyleReverseList" | "noHighlight">;
226
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "editorId" | "class" | "style" | "mdHeadingId" | "theme" | "pageFullscreen" | "preview" | "htmlPreview" | "toolbars" | "toolbarsExclude" | "noPrettier" | "tabWidth" | "tableShape" | "placeholder" | "footers" | "scrollAuto" | "showToolbarName" | "modelValue" | "language" | "showCodeRowNumber" | "previewTheme" | "sanitize" | "noMermaid" | "noKatex" | "codeTheme" | "formatCopiedText" | "codeStyleReverse" | "codeStyleReverseList" | "noHighlight" | "noImgZoomIn">;
222
227
  $attrs: {
223
228
  [x: string]: unknown;
224
229
  };
@@ -406,6 +411,10 @@ declare const _default: {
406
411
  type: import("vue").PropType<boolean>;
407
412
  default: boolean;
408
413
  };
414
+ noImgZoomIn: {
415
+ type: import("vue").PropType<boolean>;
416
+ default: boolean;
417
+ };
409
418
  }>> & {
410
419
  onOnChange?: ((...args: any[]) => any) | undefined;
411
420
  onOnFocus?: ((...args: any[]) => any) | undefined;
@@ -447,6 +456,7 @@ declare const _default: {
447
456
  codeStyleReverse: boolean;
448
457
  codeStyleReverseList: string[];
449
458
  noHighlight: boolean;
459
+ noImgZoomIn: boolean;
450
460
  }, {}, string> & {
451
461
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
452
462
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -641,6 +651,10 @@ declare const _default: {
641
651
  type: import("vue").PropType<boolean>;
642
652
  default: boolean;
643
653
  };
654
+ noImgZoomIn: {
655
+ type: import("vue").PropType<boolean>;
656
+ default: boolean;
657
+ };
644
658
  }>> & {
645
659
  onOnChange?: ((...args: any[]) => any) | undefined;
646
660
  onOnFocus?: ((...args: any[]) => any) | undefined;
@@ -830,6 +844,10 @@ declare const _default: {
830
844
  type: import("vue").PropType<boolean>;
831
845
  default: boolean;
832
846
  };
847
+ noImgZoomIn: {
848
+ type: import("vue").PropType<boolean>;
849
+ default: boolean;
850
+ };
833
851
  }>> & {
834
852
  onOnChange?: ((...args: any[]) => any) | undefined;
835
853
  onOnFocus?: ((...args: any[]) => any) | undefined;
@@ -871,6 +889,7 @@ declare const _default: {
871
889
  codeStyleReverse: boolean;
872
890
  codeStyleReverseList: string[];
873
891
  noHighlight: boolean;
892
+ noImgZoomIn: boolean;
874
893
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
875
894
  install: (app: App) => App;
876
895
  };
@@ -1,154 +1,114 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import { ExtractPropTypes } from 'vue';
2
2
  import { LooseRequired } from '@vue/shared';
3
- import { HeadList, MdHeadingId, SettingType } from '../../type';
4
- export declare const contentPreviewProps: {
5
- modelValue: {
6
- type: PropType<string>;
7
- default: string;
8
- };
9
- setting: {
10
- type: PropType<SettingType>;
11
- default: () => {};
12
- };
13
- onHtmlChanged: {
14
- type: PropType<(h: string) => void>;
15
- default: () => void;
16
- };
17
- onGetCatalog: {
18
- type: PropType<(list: HeadList[]) => void>;
19
- default: () => void;
20
- };
21
- mdHeadingId: {
22
- type: PropType<MdHeadingId>;
23
- default: () => string;
24
- };
25
- noMermaid: {
26
- type: PropType<boolean>;
27
- default: boolean;
28
- };
29
- sanitize: {
30
- type: PropType<(html: string) => string>;
31
- default: (html: string) => string;
32
- };
33
- noKatex: {
34
- type: PropType<boolean>;
35
- default: boolean;
36
- };
37
- formatCopiedText: {
38
- type: PropType<(text: string) => string>;
39
- default: (text: string) => string;
40
- };
41
- noHighlight: {
42
- type: PropType<boolean>;
43
- default: boolean;
44
- };
45
- previewOnly: {
46
- type: PropType<boolean>;
47
- default: boolean;
48
- };
49
- };
3
+ import { contentPreviewProps } from './props';
50
4
  export type ContentPreviewProps = Readonly<LooseRequired<Readonly<ExtractPropTypes<typeof contentPreviewProps>>>>;
51
5
  declare const ContentPreview: import("vue").DefineComponent<{
52
6
  modelValue: {
53
- type: PropType<string>;
7
+ type: import("vue").PropType<string>;
54
8
  default: string;
55
9
  };
56
10
  setting: {
57
- type: PropType<SettingType>;
11
+ type: import("vue").PropType<import('../../type').SettingType>;
58
12
  default: () => {};
59
13
  };
60
14
  onHtmlChanged: {
61
- type: PropType<(h: string) => void>;
15
+ type: import("vue").PropType<(h: string) => void>;
62
16
  default: () => void;
63
17
  };
64
18
  onGetCatalog: {
65
- type: PropType<(list: HeadList[]) => void>;
19
+ type: import("vue").PropType<(list: import('../../type').HeadList[]) => void>;
66
20
  default: () => void;
67
21
  };
68
22
  mdHeadingId: {
69
- type: PropType<MdHeadingId>;
23
+ type: import("vue").PropType<import('../../type').MdHeadingId>;
70
24
  default: () => string;
71
25
  };
72
26
  noMermaid: {
73
- type: PropType<boolean>;
27
+ type: import("vue").PropType<boolean>;
74
28
  default: boolean;
75
29
  };
76
30
  sanitize: {
77
- type: PropType<(html: string) => string>;
31
+ type: import("vue").PropType<(html: string) => string>;
78
32
  default: (html: string) => string;
79
33
  };
80
34
  noKatex: {
81
- type: PropType<boolean>;
35
+ type: import("vue").PropType<boolean>;
82
36
  default: boolean;
83
37
  };
84
38
  formatCopiedText: {
85
- type: PropType<(text: string) => string>;
39
+ type: import("vue").PropType<(text: string) => string>;
86
40
  default: (text: string) => string;
87
41
  };
88
42
  noHighlight: {
89
- type: PropType<boolean>;
43
+ type: import("vue").PropType<boolean>;
90
44
  default: boolean;
91
45
  };
92
46
  previewOnly: {
93
- type: PropType<boolean>;
47
+ type: import("vue").PropType<boolean>;
94
48
  default: boolean;
95
49
  };
50
+ noImgZoomIn: {
51
+ type: import("vue").PropType<boolean>;
52
+ };
96
53
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
97
54
  modelValue: {
98
- type: PropType<string>;
55
+ type: import("vue").PropType<string>;
99
56
  default: string;
100
57
  };
101
58
  setting: {
102
- type: PropType<SettingType>;
59
+ type: import("vue").PropType<import('../../type').SettingType>;
103
60
  default: () => {};
104
61
  };
105
62
  onHtmlChanged: {
106
- type: PropType<(h: string) => void>;
63
+ type: import("vue").PropType<(h: string) => void>;
107
64
  default: () => void;
108
65
  };
109
66
  onGetCatalog: {
110
- type: PropType<(list: HeadList[]) => void>;
67
+ type: import("vue").PropType<(list: import('../../type').HeadList[]) => void>;
111
68
  default: () => void;
112
69
  };
113
70
  mdHeadingId: {
114
- type: PropType<MdHeadingId>;
71
+ type: import("vue").PropType<import('../../type').MdHeadingId>;
115
72
  default: () => string;
116
73
  };
117
74
  noMermaid: {
118
- type: PropType<boolean>;
75
+ type: import("vue").PropType<boolean>;
119
76
  default: boolean;
120
77
  };
121
78
  sanitize: {
122
- type: PropType<(html: string) => string>;
79
+ type: import("vue").PropType<(html: string) => string>;
123
80
  default: (html: string) => string;
124
81
  };
125
82
  noKatex: {
126
- type: PropType<boolean>;
83
+ type: import("vue").PropType<boolean>;
127
84
  default: boolean;
128
85
  };
129
86
  formatCopiedText: {
130
- type: PropType<(text: string) => string>;
87
+ type: import("vue").PropType<(text: string) => string>;
131
88
  default: (text: string) => string;
132
89
  };
133
90
  noHighlight: {
134
- type: PropType<boolean>;
91
+ type: import("vue").PropType<boolean>;
135
92
  default: boolean;
136
93
  };
137
94
  previewOnly: {
138
- type: PropType<boolean>;
95
+ type: import("vue").PropType<boolean>;
139
96
  default: boolean;
140
97
  };
98
+ noImgZoomIn: {
99
+ type: import("vue").PropType<boolean>;
100
+ };
141
101
  }>>, {
142
- mdHeadingId: MdHeadingId;
102
+ mdHeadingId: import('../../type').MdHeadingId;
143
103
  modelValue: string;
144
104
  onHtmlChanged: (h: string) => void;
145
- onGetCatalog: (list: HeadList[]) => void;
105
+ onGetCatalog: (list: import('../../type').HeadList[]) => void;
146
106
  sanitize: (html: string) => string;
147
107
  noMermaid: boolean;
148
108
  noKatex: boolean;
149
109
  formatCopiedText: (text: string) => string;
150
110
  noHighlight: boolean;
151
- setting: SettingType;
111
+ setting: import('../../type').SettingType;
152
112
  previewOnly: boolean;
153
113
  }>;
154
114
  export default ContentPreview;
@@ -1,51 +1,15 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- value: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
2
  onChange: {
7
3
  type: import("vue").PropType<(v: string) => void>;
8
4
  default: () => void;
9
5
  };
10
- setting: {
11
- type: import("vue").PropType<import("../../type").SettingType>;
12
- default: () => {};
13
- };
14
- onHtmlChanged: {
15
- type: import("vue").PropType<(h: string) => void>;
16
- default: () => void;
17
- };
18
- onGetCatalog: {
19
- type: import("vue").PropType<(list: import("../../type").HeadList[]) => void>;
20
- default: () => void;
21
- };
22
- mdHeadingId: {
23
- type: import("vue").PropType<import("../../type").MdHeadingId>;
24
- default: () => string;
25
- };
26
- noMermaid: {
27
- type: import("vue").PropType<boolean>;
28
- default: boolean;
29
- };
30
- sanitize: {
31
- type: import("vue").PropType<(html: string) => string>;
32
- default: (html: string) => string;
33
- };
34
6
  placeholder: {
35
7
  type: import("vue").PropType<string>;
36
8
  default: string;
37
9
  };
38
- noKatex: {
39
- type: import("vue").PropType<boolean>;
40
- default: boolean;
41
- };
42
10
  scrollAuto: {
43
11
  type: import("vue").PropType<boolean>;
44
12
  };
45
- formatCopiedText: {
46
- type: import("vue").PropType<(text: string) => string>;
47
- default: (text: string) => string;
48
- };
49
13
  autofocus: {
50
14
  type: import("vue").PropType<boolean>;
51
15
  };
@@ -72,10 +36,6 @@ declare const _default: import("vue").DefineComponent<{
72
36
  noPrettier: {
73
37
  type: import("vue").PropType<boolean>;
74
38
  };
75
- noHighlight: {
76
- type: import("vue").PropType<boolean>;
77
- default: boolean;
78
- };
79
39
  completions: {
80
40
  type: import("vue").PropType<import("@codemirror/autocomplete").CompletionSource[]>;
81
41
  };
@@ -89,15 +49,10 @@ declare const _default: import("vue").DefineComponent<{
89
49
  onInput: {
90
50
  type: import("vue").PropType<(event: Event) => void>;
91
51
  };
92
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
93
- value: {
52
+ modelValue: {
94
53
  type: import("vue").PropType<string>;
95
54
  default: string;
96
55
  };
97
- onChange: {
98
- type: import("vue").PropType<(v: string) => void>;
99
- default: () => void;
100
- };
101
56
  setting: {
102
57
  type: import("vue").PropType<import("../../type").SettingType>;
103
58
  default: () => {};
@@ -122,21 +77,37 @@ declare const _default: import("vue").DefineComponent<{
122
77
  type: import("vue").PropType<(html: string) => string>;
123
78
  default: (html: string) => string;
124
79
  };
125
- placeholder: {
126
- type: import("vue").PropType<string>;
127
- default: string;
128
- };
129
80
  noKatex: {
130
81
  type: import("vue").PropType<boolean>;
131
82
  default: boolean;
132
83
  };
133
- scrollAuto: {
134
- type: import("vue").PropType<boolean>;
135
- };
136
84
  formatCopiedText: {
137
85
  type: import("vue").PropType<(text: string) => string>;
138
86
  default: (text: string) => string;
139
87
  };
88
+ noHighlight: {
89
+ type: import("vue").PropType<boolean>;
90
+ default: boolean;
91
+ };
92
+ previewOnly: {
93
+ type: import("vue").PropType<boolean>;
94
+ default: boolean;
95
+ };
96
+ noImgZoomIn: {
97
+ type: import("vue").PropType<boolean>;
98
+ };
99
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
100
+ onChange: {
101
+ type: import("vue").PropType<(v: string) => void>;
102
+ default: () => void;
103
+ };
104
+ placeholder: {
105
+ type: import("vue").PropType<string>;
106
+ default: string;
107
+ };
108
+ scrollAuto: {
109
+ type: import("vue").PropType<boolean>;
110
+ };
140
111
  autofocus: {
141
112
  type: import("vue").PropType<boolean>;
142
113
  };
@@ -163,10 +134,6 @@ declare const _default: import("vue").DefineComponent<{
163
134
  noPrettier: {
164
135
  type: import("vue").PropType<boolean>;
165
136
  };
166
- noHighlight: {
167
- type: import("vue").PropType<boolean>;
168
- default: boolean;
169
- };
170
137
  completions: {
171
138
  type: import("vue").PropType<import("@codemirror/autocomplete").CompletionSource[]>;
172
139
  };
@@ -180,6 +147,53 @@ declare const _default: import("vue").DefineComponent<{
180
147
  onInput: {
181
148
  type: import("vue").PropType<(event: Event) => void>;
182
149
  };
150
+ modelValue: {
151
+ type: import("vue").PropType<string>;
152
+ default: string;
153
+ };
154
+ setting: {
155
+ type: import("vue").PropType<import("../../type").SettingType>;
156
+ default: () => {};
157
+ };
158
+ onHtmlChanged: {
159
+ type: import("vue").PropType<(h: string) => void>;
160
+ default: () => void;
161
+ };
162
+ onGetCatalog: {
163
+ type: import("vue").PropType<(list: import("../../type").HeadList[]) => void>;
164
+ default: () => void;
165
+ };
166
+ mdHeadingId: {
167
+ type: import("vue").PropType<import("../../type").MdHeadingId>;
168
+ default: () => string;
169
+ };
170
+ noMermaid: {
171
+ type: import("vue").PropType<boolean>;
172
+ default: boolean;
173
+ };
174
+ sanitize: {
175
+ type: import("vue").PropType<(html: string) => string>;
176
+ default: (html: string) => string;
177
+ };
178
+ noKatex: {
179
+ type: import("vue").PropType<boolean>;
180
+ default: boolean;
181
+ };
182
+ formatCopiedText: {
183
+ type: import("vue").PropType<(text: string) => string>;
184
+ default: (text: string) => string;
185
+ };
186
+ noHighlight: {
187
+ type: import("vue").PropType<boolean>;
188
+ default: boolean;
189
+ };
190
+ previewOnly: {
191
+ type: import("vue").PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ noImgZoomIn: {
195
+ type: import("vue").PropType<boolean>;
196
+ };
183
197
  }>>, {
184
198
  onChange: (v: string) => void;
185
199
  onFocus: (event: FocusEvent) => void;
@@ -187,6 +201,7 @@ declare const _default: import("vue").DefineComponent<{
187
201
  mdHeadingId: import("../../type").MdHeadingId;
188
202
  theme: import("../../type").Themes;
189
203
  placeholder: string;
204
+ modelValue: string;
190
205
  onHtmlChanged: (h: string) => void;
191
206
  onGetCatalog: (list: import("../../type").HeadList[]) => void;
192
207
  sanitize: (html: string) => string;
@@ -195,6 +210,6 @@ declare const _default: import("vue").DefineComponent<{
195
210
  formatCopiedText: (text: string) => string;
196
211
  noHighlight: boolean;
197
212
  setting: import("../../type").SettingType;
198
- value: string;
213
+ previewOnly: boolean;
199
214
  }>;
200
215
  export default _default;
@@ -2,15 +2,11 @@ import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { CompletionSource } from '@codemirror/autocomplete';
3
3
  import { LooseRequired } from '@vue/shared';
4
4
  import { HeadList, SettingType, MdHeadingId, Themes } from '../../type';
5
- export declare const contentProps: {
6
- value: {
5
+ export declare const contentPreviewProps: {
6
+ modelValue: {
7
7
  type: PropType<string>;
8
8
  default: string;
9
9
  };
10
- onChange: {
11
- type: PropType<(v: string) => void>;
12
- default: () => void;
13
- };
14
10
  setting: {
15
11
  type: PropType<SettingType>;
16
12
  default: () => {};
@@ -35,21 +31,38 @@ export declare const contentProps: {
35
31
  type: PropType<(html: string) => string>;
36
32
  default: (html: string) => string;
37
33
  };
38
- placeholder: {
39
- type: PropType<string>;
40
- default: string;
41
- };
42
34
  noKatex: {
43
35
  type: PropType<boolean>;
44
36
  default: boolean;
45
37
  };
46
- scrollAuto: {
47
- type: PropType<boolean>;
48
- };
49
38
  formatCopiedText: {
50
39
  type: PropType<(text: string) => string>;
51
40
  default: (text: string) => string;
52
41
  };
42
+ noHighlight: {
43
+ type: PropType<boolean>;
44
+ default: boolean;
45
+ };
46
+ previewOnly: {
47
+ type: PropType<boolean>;
48
+ default: boolean;
49
+ };
50
+ noImgZoomIn: {
51
+ type: PropType<boolean>;
52
+ };
53
+ };
54
+ export declare const contentProps: {
55
+ onChange: {
56
+ type: PropType<(v: string) => void>;
57
+ default: () => void;
58
+ };
59
+ placeholder: {
60
+ type: PropType<string>;
61
+ default: string;
62
+ };
63
+ scrollAuto: {
64
+ type: PropType<boolean>;
65
+ };
53
66
  autofocus: {
54
67
  type: PropType<boolean>;
55
68
  };
@@ -82,10 +95,6 @@ export declare const contentProps: {
82
95
  noPrettier: {
83
96
  type: PropType<boolean>;
84
97
  };
85
- noHighlight: {
86
- type: PropType<boolean>;
87
- default: boolean;
88
- };
89
98
  completions: {
90
99
  type: PropType<CompletionSource[]>;
91
100
  };
@@ -99,5 +108,52 @@ export declare const contentProps: {
99
108
  onInput: {
100
109
  type: PropType<(event: Event) => void>;
101
110
  };
111
+ modelValue: {
112
+ type: PropType<string>;
113
+ default: string;
114
+ };
115
+ setting: {
116
+ type: PropType<SettingType>;
117
+ default: () => {};
118
+ };
119
+ onHtmlChanged: {
120
+ type: PropType<(h: string) => void>;
121
+ default: () => void;
122
+ };
123
+ onGetCatalog: {
124
+ type: PropType<(list: HeadList[]) => void>;
125
+ default: () => void;
126
+ };
127
+ mdHeadingId: {
128
+ type: PropType<MdHeadingId>;
129
+ default: () => string;
130
+ };
131
+ noMermaid: {
132
+ type: PropType<boolean>;
133
+ default: boolean;
134
+ };
135
+ sanitize: {
136
+ type: PropType<(html: string) => string>;
137
+ default: (html: string) => string;
138
+ };
139
+ noKatex: {
140
+ type: PropType<boolean>;
141
+ default: boolean;
142
+ };
143
+ formatCopiedText: {
144
+ type: PropType<(text: string) => string>;
145
+ default: (text: string) => string;
146
+ };
147
+ noHighlight: {
148
+ type: PropType<boolean>;
149
+ default: boolean;
150
+ };
151
+ previewOnly: {
152
+ type: PropType<boolean>;
153
+ default: boolean;
154
+ };
155
+ noImgZoomIn: {
156
+ type: PropType<boolean>;
157
+ };
102
158
  };
103
159
  export type ContentProps = Readonly<LooseRequired<Readonly<ExtractPropTypes<typeof contentProps>>>>;