md-editor-v3 1.11.13 → 2.0.0-beta.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.
@@ -1,13 +1,15 @@
1
- import NormalToolbar from './NormalToolbar';
2
- import DropdownToolbar from './DropdownToolbar';
3
- import Catalog from './layouts/Catalog';
1
+ import { App } from 'vue';
2
+ import NormalToolbar from './extensions/NormalToolbar';
3
+ import DropdownToolbar from './extensions/DropdownToolbar';
4
+ import Catalog from './extensions/Catalog';
5
+ import ModalToolbar from './extensions/ModalToolbar';
6
+ import configFn from './utils/config';
4
7
  declare const _default: {
5
8
  new (...args: any[]): {
6
9
  $: import("vue").ComponentInternalInstance;
7
10
  $data: {};
8
11
  $props: Partial<{
9
12
  editorId: string;
10
- prettier: boolean;
11
13
  preview: boolean;
12
14
  htmlPreview: boolean;
13
15
  tabWidth: number;
@@ -15,39 +17,23 @@ declare const _default: {
15
17
  historyLength: number;
16
18
  previewOnly: boolean;
17
19
  showCodeRowNumber: boolean;
18
- Cropper: Function;
19
- previewTheme: import("./type").PreviewThemes;
20
- iconfontJs: string;
21
- prettierCDN: string;
22
- prettierMDCDN: string;
23
- cropperCss: string;
24
- cropperJs: string;
20
+ previewTheme: string;
21
+ noPrettier: boolean;
25
22
  style: string | import("vue").CSSProperties;
23
+ class: string;
26
24
  modelValue: string;
27
- editorClass: string;
28
- hljs: Record<string, any>;
29
- highlightJs: string;
30
- highlightCss: string;
31
25
  pageFullScreen: boolean;
32
26
  language: string;
33
- languageUserDefined: {
34
- [key: string]: import("./type").StaticTextDefaultValue;
35
- };
36
27
  toolbars: import("./type").ToolbarNames[];
37
28
  toolbarsExclude: import("./type").ToolbarNames[];
38
- screenfull: Record<string, any>;
39
- screenfullJs: string;
40
- markedHeading: import("./type").MarkedHeading;
41
29
  markedHeadingId: import("./type").MarkedHeadingId;
42
30
  tableShape: number[];
43
- mermaidJs: string;
44
31
  noMermaid: boolean;
45
32
  sanitize: (html: string) => string;
46
33
  placeholder: string;
47
- katexJs: string;
48
- katexCss: string;
49
34
  noKatex: boolean;
50
- markedImage: import("./type").MarkedImage;
35
+ onError: (err: import("./type").InnerError) => void;
36
+ codeCssName: string;
51
37
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
52
38
  modelValue: {
53
39
  type: import("vue").PropType<string>;
@@ -57,22 +43,10 @@ declare const _default: {
57
43
  type: import("vue").PropType<import("./type").Themes>;
58
44
  default: string;
59
45
  };
60
- editorClass: {
46
+ class: {
61
47
  type: StringConstructor;
62
48
  default: string;
63
49
  };
64
- hljs: {
65
- type: ObjectConstructor;
66
- default: null;
67
- };
68
- highlightJs: {
69
- type: import("vue").PropType<string>;
70
- default: string;
71
- };
72
- highlightCss: {
73
- type: import("vue").PropType<string>;
74
- default: string;
75
- };
76
50
  historyLength: {
77
51
  type: import("vue").PropType<number>;
78
52
  default: number;
@@ -106,12 +80,6 @@ declare const _default: {
106
80
  type: import("vue").PropType<string>;
107
81
  default: string;
108
82
  };
109
- languageUserDefined: {
110
- type: import("vue").PropType<{
111
- [key: string]: import("./type").StaticTextDefaultValue;
112
- }>;
113
- default: () => {};
114
- };
115
83
  toolbars: {
116
84
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
117
85
  default: string[];
@@ -120,37 +88,13 @@ declare const _default: {
120
88
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
121
89
  default: never[];
122
90
  };
123
- prettier: {
91
+ noPrettier: {
124
92
  type: import("vue").PropType<boolean>;
125
93
  default: boolean;
126
94
  };
127
- prettierCDN: {
128
- type: import("vue").PropType<string>;
129
- default: string;
130
- };
131
- prettierMDCDN: {
132
- type: import("vue").PropType<string>;
133
- default: string;
134
- };
135
95
  onHtmlChanged: {
136
96
  type: import("vue").PropType<(h: string) => void>;
137
97
  };
138
- Cropper: {
139
- type: FunctionConstructor;
140
- default: null;
141
- };
142
- cropperCss: {
143
- type: import("vue").PropType<string>;
144
- default: string;
145
- };
146
- cropperJs: {
147
- type: import("vue").PropType<string>;
148
- default: string;
149
- };
150
- iconfontJs: {
151
- type: import("vue").PropType<string>;
152
- default: string;
153
- };
154
98
  onGetCatalog: {
155
99
  type: import("vue").PropType<(list: import("./type").HeadList[]) => void>;
156
100
  };
@@ -166,22 +110,10 @@ declare const _default: {
166
110
  type: import("vue").PropType<boolean>;
167
111
  default: boolean;
168
112
  };
169
- screenfull: {
170
- type: ObjectConstructor;
171
- default: null;
172
- };
173
- screenfullJs: {
174
- type: import("vue").PropType<string>;
175
- default: string;
176
- };
177
113
  previewTheme: {
178
- type: import("vue").PropType<import("./type").PreviewThemes>;
114
+ type: import("vue").PropType<string>;
179
115
  default: string;
180
116
  };
181
- markedHeading: {
182
- type: import("vue").PropType<import("./type").MarkedHeading>;
183
- default: (text: string, level: number, raw: string) => string;
184
- };
185
117
  style: {
186
118
  type: import("vue").PropType<string | import("vue").CSSProperties>;
187
119
  default: () => {};
@@ -194,13 +126,6 @@ declare const _default: {
194
126
  type: import("vue").PropType<number[]>;
195
127
  default: () => number[];
196
128
  };
197
- mermaid: {
198
- type: ObjectConstructor;
199
- };
200
- mermaidJs: {
201
- type: import("vue").PropType<string>;
202
- default: string;
203
- };
204
129
  noMermaid: {
205
130
  type: import("vue").PropType<boolean>;
206
131
  default: boolean;
@@ -213,17 +138,6 @@ declare const _default: {
213
138
  type: import("vue").PropType<string>;
214
139
  default: string;
215
140
  };
216
- katex: {
217
- type: ObjectConstructor;
218
- };
219
- katexJs: {
220
- type: import("vue").PropType<string>;
221
- default: string;
222
- };
223
- katexCss: {
224
- type: import("vue").PropType<string>;
225
- default: string;
226
- };
227
141
  noKatex: {
228
142
  type: import("vue").PropType<boolean>;
229
143
  default: boolean;
@@ -231,14 +145,15 @@ declare const _default: {
231
145
  defToolbars: {
232
146
  type: import("vue").PropType<string | JSX.Element>;
233
147
  };
234
- extensions: {
235
- type: import("vue").PropType<any[]>;
148
+ onError: {
149
+ type: import("vue").PropType<(err: import("./type").InnerError) => void>;
150
+ default: () => () => void;
236
151
  };
237
- markedImage: {
238
- type: import("vue").PropType<import("./type").MarkedImage>;
239
- default: (href: string, title: string, desc: string) => string;
152
+ codeCssName: {
153
+ type: import("vue").PropType<string>;
154
+ default: string;
240
155
  };
241
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "editorId" | "prettier" | "preview" | "htmlPreview" | "tabWidth" | "theme" | "historyLength" | "previewOnly" | "showCodeRowNumber" | "Cropper" | "previewTheme" | "iconfontJs" | "prettierCDN" | "prettierMDCDN" | "cropperCss" | "cropperJs" | "style" | "modelValue" | "editorClass" | "hljs" | "highlightJs" | "highlightCss" | "pageFullScreen" | "language" | "languageUserDefined" | "toolbars" | "toolbarsExclude" | "screenfull" | "screenfullJs" | "markedHeading" | "markedHeadingId" | "tableShape" | "mermaidJs" | "noMermaid" | "sanitize" | "placeholder" | "katexJs" | "katexCss" | "noKatex" | "markedImage">;
156
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "editorId" | "preview" | "htmlPreview" | "tabWidth" | "theme" | "historyLength" | "previewOnly" | "showCodeRowNumber" | "previewTheme" | "noPrettier" | "style" | "class" | "modelValue" | "pageFullScreen" | "language" | "toolbars" | "toolbarsExclude" | "markedHeadingId" | "tableShape" | "noMermaid" | "sanitize" | "placeholder" | "noKatex" | "onError" | "codeCssName">;
242
157
  $attrs: {
243
158
  [x: string]: unknown;
244
159
  };
@@ -261,22 +176,10 @@ declare const _default: {
261
176
  type: import("vue").PropType<import("./type").Themes>;
262
177
  default: string;
263
178
  };
264
- editorClass: {
179
+ class: {
265
180
  type: StringConstructor;
266
181
  default: string;
267
182
  };
268
- hljs: {
269
- type: ObjectConstructor;
270
- default: null;
271
- };
272
- highlightJs: {
273
- type: import("vue").PropType<string>;
274
- default: string;
275
- };
276
- highlightCss: {
277
- type: import("vue").PropType<string>;
278
- default: string;
279
- };
280
183
  historyLength: {
281
184
  type: import("vue").PropType<number>;
282
185
  default: number;
@@ -310,12 +213,6 @@ declare const _default: {
310
213
  type: import("vue").PropType<string>;
311
214
  default: string;
312
215
  };
313
- languageUserDefined: {
314
- type: import("vue").PropType<{
315
- [key: string]: import("./type").StaticTextDefaultValue;
316
- }>;
317
- default: () => {};
318
- };
319
216
  toolbars: {
320
217
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
321
218
  default: string[];
@@ -324,37 +221,13 @@ declare const _default: {
324
221
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
325
222
  default: never[];
326
223
  };
327
- prettier: {
224
+ noPrettier: {
328
225
  type: import("vue").PropType<boolean>;
329
226
  default: boolean;
330
227
  };
331
- prettierCDN: {
332
- type: import("vue").PropType<string>;
333
- default: string;
334
- };
335
- prettierMDCDN: {
336
- type: import("vue").PropType<string>;
337
- default: string;
338
- };
339
228
  onHtmlChanged: {
340
229
  type: import("vue").PropType<(h: string) => void>;
341
230
  };
342
- Cropper: {
343
- type: FunctionConstructor;
344
- default: null;
345
- };
346
- cropperCss: {
347
- type: import("vue").PropType<string>;
348
- default: string;
349
- };
350
- cropperJs: {
351
- type: import("vue").PropType<string>;
352
- default: string;
353
- };
354
- iconfontJs: {
355
- type: import("vue").PropType<string>;
356
- default: string;
357
- };
358
231
  onGetCatalog: {
359
232
  type: import("vue").PropType<(list: import("./type").HeadList[]) => void>;
360
233
  };
@@ -370,22 +243,10 @@ declare const _default: {
370
243
  type: import("vue").PropType<boolean>;
371
244
  default: boolean;
372
245
  };
373
- screenfull: {
374
- type: ObjectConstructor;
375
- default: null;
376
- };
377
- screenfullJs: {
378
- type: import("vue").PropType<string>;
379
- default: string;
380
- };
381
246
  previewTheme: {
382
- type: import("vue").PropType<import("./type").PreviewThemes>;
247
+ type: import("vue").PropType<string>;
383
248
  default: string;
384
249
  };
385
- markedHeading: {
386
- type: import("vue").PropType<import("./type").MarkedHeading>;
387
- default: (text: string, level: number, raw: string) => string;
388
- };
389
250
  style: {
390
251
  type: import("vue").PropType<string | import("vue").CSSProperties>;
391
252
  default: () => {};
@@ -398,13 +259,6 @@ declare const _default: {
398
259
  type: import("vue").PropType<number[]>;
399
260
  default: () => number[];
400
261
  };
401
- mermaid: {
402
- type: ObjectConstructor;
403
- };
404
- mermaidJs: {
405
- type: import("vue").PropType<string>;
406
- default: string;
407
- };
408
262
  noMermaid: {
409
263
  type: import("vue").PropType<boolean>;
410
264
  default: boolean;
@@ -417,17 +271,6 @@ declare const _default: {
417
271
  type: import("vue").PropType<string>;
418
272
  default: string;
419
273
  };
420
- katex: {
421
- type: ObjectConstructor;
422
- };
423
- katexJs: {
424
- type: import("vue").PropType<string>;
425
- default: string;
426
- };
427
- katexCss: {
428
- type: import("vue").PropType<string>;
429
- default: string;
430
- };
431
274
  noKatex: {
432
275
  type: import("vue").PropType<boolean>;
433
276
  default: boolean;
@@ -435,16 +278,16 @@ declare const _default: {
435
278
  defToolbars: {
436
279
  type: import("vue").PropType<string | JSX.Element>;
437
280
  };
438
- extensions: {
439
- type: import("vue").PropType<any[]>;
281
+ onError: {
282
+ type: import("vue").PropType<(err: import("./type").InnerError) => void>;
283
+ default: () => () => void;
440
284
  };
441
- markedImage: {
442
- type: import("vue").PropType<import("./type").MarkedImage>;
443
- default: (href: string, title: string, desc: string) => string;
285
+ codeCssName: {
286
+ type: import("vue").PropType<string>;
287
+ default: string;
444
288
  };
445
289
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
446
290
  editorId: string;
447
- prettier: boolean;
448
291
  preview: boolean;
449
292
  htmlPreview: boolean;
450
293
  tabWidth: number;
@@ -452,39 +295,23 @@ declare const _default: {
452
295
  historyLength: number;
453
296
  previewOnly: boolean;
454
297
  showCodeRowNumber: boolean;
455
- Cropper: Function;
456
- previewTheme: import("./type").PreviewThemes;
457
- iconfontJs: string;
458
- prettierCDN: string;
459
- prettierMDCDN: string;
460
- cropperCss: string;
461
- cropperJs: string;
298
+ previewTheme: string;
299
+ noPrettier: boolean;
462
300
  style: string | import("vue").CSSProperties;
301
+ class: string;
463
302
  modelValue: string;
464
- editorClass: string;
465
- hljs: Record<string, any>;
466
- highlightJs: string;
467
- highlightCss: string;
468
303
  pageFullScreen: boolean;
469
304
  language: string;
470
- languageUserDefined: {
471
- [key: string]: import("./type").StaticTextDefaultValue;
472
- };
473
305
  toolbars: import("./type").ToolbarNames[];
474
306
  toolbarsExclude: import("./type").ToolbarNames[];
475
- screenfull: Record<string, any>;
476
- screenfullJs: string;
477
- markedHeading: import("./type").MarkedHeading;
478
307
  markedHeadingId: import("./type").MarkedHeadingId;
479
308
  tableShape: number[];
480
- mermaidJs: string;
481
309
  noMermaid: boolean;
482
310
  sanitize: (html: string) => string;
483
311
  placeholder: string;
484
- katexJs: string;
485
- katexCss: string;
486
312
  noKatex: boolean;
487
- markedImage: import("./type").MarkedImage;
313
+ onError: (err: import("./type").InnerError) => void;
314
+ codeCssName: string;
488
315
  }> & {
489
316
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
490
317
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -514,22 +341,10 @@ declare const _default: {
514
341
  type: import("vue").PropType<import("./type").Themes>;
515
342
  default: string;
516
343
  };
517
- editorClass: {
344
+ class: {
518
345
  type: StringConstructor;
519
346
  default: string;
520
347
  };
521
- hljs: {
522
- type: ObjectConstructor;
523
- default: null;
524
- };
525
- highlightJs: {
526
- type: import("vue").PropType<string>;
527
- default: string;
528
- };
529
- highlightCss: {
530
- type: import("vue").PropType<string>;
531
- default: string;
532
- };
533
348
  historyLength: {
534
349
  type: import("vue").PropType<number>;
535
350
  default: number;
@@ -563,12 +378,6 @@ declare const _default: {
563
378
  type: import("vue").PropType<string>;
564
379
  default: string;
565
380
  };
566
- languageUserDefined: {
567
- type: import("vue").PropType<{
568
- [key: string]: import("./type").StaticTextDefaultValue;
569
- }>;
570
- default: () => {};
571
- };
572
381
  toolbars: {
573
382
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
574
383
  default: string[];
@@ -577,37 +386,13 @@ declare const _default: {
577
386
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
578
387
  default: never[];
579
388
  };
580
- prettier: {
389
+ noPrettier: {
581
390
  type: import("vue").PropType<boolean>;
582
391
  default: boolean;
583
392
  };
584
- prettierCDN: {
585
- type: import("vue").PropType<string>;
586
- default: string;
587
- };
588
- prettierMDCDN: {
589
- type: import("vue").PropType<string>;
590
- default: string;
591
- };
592
393
  onHtmlChanged: {
593
394
  type: import("vue").PropType<(h: string) => void>;
594
395
  };
595
- Cropper: {
596
- type: FunctionConstructor;
597
- default: null;
598
- };
599
- cropperCss: {
600
- type: import("vue").PropType<string>;
601
- default: string;
602
- };
603
- cropperJs: {
604
- type: import("vue").PropType<string>;
605
- default: string;
606
- };
607
- iconfontJs: {
608
- type: import("vue").PropType<string>;
609
- default: string;
610
- };
611
396
  onGetCatalog: {
612
397
  type: import("vue").PropType<(list: import("./type").HeadList[]) => void>;
613
398
  };
@@ -623,22 +408,10 @@ declare const _default: {
623
408
  type: import("vue").PropType<boolean>;
624
409
  default: boolean;
625
410
  };
626
- screenfull: {
627
- type: ObjectConstructor;
628
- default: null;
629
- };
630
- screenfullJs: {
631
- type: import("vue").PropType<string>;
632
- default: string;
633
- };
634
411
  previewTheme: {
635
- type: import("vue").PropType<import("./type").PreviewThemes>;
412
+ type: import("vue").PropType<string>;
636
413
  default: string;
637
414
  };
638
- markedHeading: {
639
- type: import("vue").PropType<import("./type").MarkedHeading>;
640
- default: (text: string, level: number, raw: string) => string;
641
- };
642
415
  style: {
643
416
  type: import("vue").PropType<string | import("vue").CSSProperties>;
644
417
  default: () => {};
@@ -651,13 +424,6 @@ declare const _default: {
651
424
  type: import("vue").PropType<number[]>;
652
425
  default: () => number[];
653
426
  };
654
- mermaid: {
655
- type: ObjectConstructor;
656
- };
657
- mermaidJs: {
658
- type: import("vue").PropType<string>;
659
- default: string;
660
- };
661
427
  noMermaid: {
662
428
  type: import("vue").PropType<boolean>;
663
429
  default: boolean;
@@ -670,17 +436,6 @@ declare const _default: {
670
436
  type: import("vue").PropType<string>;
671
437
  default: string;
672
438
  };
673
- katex: {
674
- type: ObjectConstructor;
675
- };
676
- katexJs: {
677
- type: import("vue").PropType<string>;
678
- default: string;
679
- };
680
- katexCss: {
681
- type: import("vue").PropType<string>;
682
- default: string;
683
- };
684
439
  noKatex: {
685
440
  type: import("vue").PropType<boolean>;
686
441
  default: boolean;
@@ -688,12 +443,13 @@ declare const _default: {
688
443
  defToolbars: {
689
444
  type: import("vue").PropType<string | JSX.Element>;
690
445
  };
691
- extensions: {
692
- type: import("vue").PropType<any[]>;
446
+ onError: {
447
+ type: import("vue").PropType<(err: import("./type").InnerError) => void>;
448
+ default: () => () => void;
693
449
  };
694
- markedImage: {
695
- type: import("vue").PropType<import("./type").MarkedImage>;
696
- default: (href: string, title: string, desc: string) => string;
450
+ codeCssName: {
451
+ type: import("vue").PropType<string>;
452
+ default: string;
697
453
  };
698
454
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
699
455
  __isFragment?: undefined;
@@ -708,22 +464,10 @@ declare const _default: {
708
464
  type: import("vue").PropType<import("./type").Themes>;
709
465
  default: string;
710
466
  };
711
- editorClass: {
467
+ class: {
712
468
  type: StringConstructor;
713
469
  default: string;
714
470
  };
715
- hljs: {
716
- type: ObjectConstructor;
717
- default: null;
718
- };
719
- highlightJs: {
720
- type: import("vue").PropType<string>;
721
- default: string;
722
- };
723
- highlightCss: {
724
- type: import("vue").PropType<string>;
725
- default: string;
726
- };
727
471
  historyLength: {
728
472
  type: import("vue").PropType<number>;
729
473
  default: number;
@@ -757,12 +501,6 @@ declare const _default: {
757
501
  type: import("vue").PropType<string>;
758
502
  default: string;
759
503
  };
760
- languageUserDefined: {
761
- type: import("vue").PropType<{
762
- [key: string]: import("./type").StaticTextDefaultValue;
763
- }>;
764
- default: () => {};
765
- };
766
504
  toolbars: {
767
505
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
768
506
  default: string[];
@@ -771,37 +509,13 @@ declare const _default: {
771
509
  type: import("vue").PropType<import("./type").ToolbarNames[]>;
772
510
  default: never[];
773
511
  };
774
- prettier: {
512
+ noPrettier: {
775
513
  type: import("vue").PropType<boolean>;
776
514
  default: boolean;
777
515
  };
778
- prettierCDN: {
779
- type: import("vue").PropType<string>;
780
- default: string;
781
- };
782
- prettierMDCDN: {
783
- type: import("vue").PropType<string>;
784
- default: string;
785
- };
786
516
  onHtmlChanged: {
787
517
  type: import("vue").PropType<(h: string) => void>;
788
518
  };
789
- Cropper: {
790
- type: FunctionConstructor;
791
- default: null;
792
- };
793
- cropperCss: {
794
- type: import("vue").PropType<string>;
795
- default: string;
796
- };
797
- cropperJs: {
798
- type: import("vue").PropType<string>;
799
- default: string;
800
- };
801
- iconfontJs: {
802
- type: import("vue").PropType<string>;
803
- default: string;
804
- };
805
519
  onGetCatalog: {
806
520
  type: import("vue").PropType<(list: import("./type").HeadList[]) => void>;
807
521
  };
@@ -817,22 +531,10 @@ declare const _default: {
817
531
  type: import("vue").PropType<boolean>;
818
532
  default: boolean;
819
533
  };
820
- screenfull: {
821
- type: ObjectConstructor;
822
- default: null;
823
- };
824
- screenfullJs: {
825
- type: import("vue").PropType<string>;
826
- default: string;
827
- };
828
534
  previewTheme: {
829
- type: import("vue").PropType<import("./type").PreviewThemes>;
535
+ type: import("vue").PropType<string>;
830
536
  default: string;
831
537
  };
832
- markedHeading: {
833
- type: import("vue").PropType<import("./type").MarkedHeading>;
834
- default: (text: string, level: number, raw: string) => string;
835
- };
836
538
  style: {
837
539
  type: import("vue").PropType<string | import("vue").CSSProperties>;
838
540
  default: () => {};
@@ -845,13 +547,6 @@ declare const _default: {
845
547
  type: import("vue").PropType<number[]>;
846
548
  default: () => number[];
847
549
  };
848
- mermaid: {
849
- type: ObjectConstructor;
850
- };
851
- mermaidJs: {
852
- type: import("vue").PropType<string>;
853
- default: string;
854
- };
855
550
  noMermaid: {
856
551
  type: import("vue").PropType<boolean>;
857
552
  default: boolean;
@@ -864,17 +559,6 @@ declare const _default: {
864
559
  type: import("vue").PropType<string>;
865
560
  default: string;
866
561
  };
867
- katex: {
868
- type: ObjectConstructor;
869
- };
870
- katexJs: {
871
- type: import("vue").PropType<string>;
872
- default: string;
873
- };
874
- katexCss: {
875
- type: import("vue").PropType<string>;
876
- default: string;
877
- };
878
562
  noKatex: {
879
563
  type: import("vue").PropType<boolean>;
880
564
  default: boolean;
@@ -882,16 +566,16 @@ declare const _default: {
882
566
  defToolbars: {
883
567
  type: import("vue").PropType<string | JSX.Element>;
884
568
  };
885
- extensions: {
886
- type: import("vue").PropType<any[]>;
569
+ onError: {
570
+ type: import("vue").PropType<(err: import("./type").InnerError) => void>;
571
+ default: () => () => void;
887
572
  };
888
- markedImage: {
889
- type: import("vue").PropType<import("./type").MarkedImage>;
890
- default: (href: string, title: string, desc: string) => string;
573
+ codeCssName: {
574
+ type: import("vue").PropType<string>;
575
+ default: string;
891
576
  };
892
577
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
893
578
  editorId: string;
894
- prettier: boolean;
895
579
  preview: boolean;
896
580
  htmlPreview: boolean;
897
581
  tabWidth: number;
@@ -899,43 +583,30 @@ declare const _default: {
899
583
  historyLength: number;
900
584
  previewOnly: boolean;
901
585
  showCodeRowNumber: boolean;
902
- Cropper: Function;
903
- previewTheme: import("./type").PreviewThemes;
904
- iconfontJs: string;
905
- prettierCDN: string;
906
- prettierMDCDN: string;
907
- cropperCss: string;
908
- cropperJs: string;
586
+ previewTheme: string;
587
+ noPrettier: boolean;
909
588
  style: string | import("vue").CSSProperties;
589
+ class: string;
910
590
  modelValue: string;
911
- editorClass: string;
912
- hljs: Record<string, any>;
913
- highlightJs: string;
914
- highlightCss: string;
915
591
  pageFullScreen: boolean;
916
592
  language: string;
917
- languageUserDefined: {
918
- [key: string]: import("./type").StaticTextDefaultValue;
919
- };
920
593
  toolbars: import("./type").ToolbarNames[];
921
594
  toolbarsExclude: import("./type").ToolbarNames[];
922
- screenfull: Record<string, any>;
923
- screenfullJs: string;
924
- markedHeading: import("./type").MarkedHeading;
925
595
  markedHeadingId: import("./type").MarkedHeadingId;
926
596
  tableShape: number[];
927
- mermaidJs: string;
928
597
  noMermaid: boolean;
929
598
  sanitize: (html: string) => string;
930
599
  placeholder: string;
931
- katexJs: string;
932
- katexCss: string;
933
600
  noKatex: boolean;
934
- markedImage: import("./type").MarkedImage;
601
+ onError: (err: import("./type").InnerError) => void;
602
+ codeCssName: string;
935
603
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
936
604
  readonly NormalToolbar: typeof NormalToolbar;
937
605
  readonly DropdownToolbar: typeof DropdownToolbar;
938
606
  readonly Catalog: typeof Catalog;
607
+ readonly ModalToolbar: typeof ModalToolbar;
608
+ readonly config: typeof configFn;
609
+ install: (app: App) => App;
939
610
  };
940
611
  export default _default;
941
612
  export * from './type';