@creatorsn/powereditor3 0.3.0 → 0.3.1
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/README.md +132 -132
- package/README_zh.md +132 -132
- package/dist/powereditor3.js +5640 -5617
- package/dist/powereditor3.umd.cjs +54 -54
- package/dist/types/editor/index.d.ts +15 -1
- package/dist/types/editor/src/components/custom/basic/dragHandler/index.vue.d.ts +10 -1
- package/dist/types/editor/src/index.vue.d.ts +15 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ export declare const PowerEditor: {
|
|
|
21
21
|
showSave: boolean;
|
|
22
22
|
toolbarHeight: number;
|
|
23
23
|
toolbarBorderRadius: number;
|
|
24
|
+
ignoreDragNodeType: unknown[];
|
|
24
25
|
disabledPlaceholder: boolean;
|
|
25
26
|
contentMaxWidth: string;
|
|
26
27
|
linkColor: string;
|
|
@@ -42,6 +43,7 @@ export declare const PowerEditor: {
|
|
|
42
43
|
imgPreview: boolean;
|
|
43
44
|
mentionItemAttr: {};
|
|
44
45
|
imgLazyLoad: boolean;
|
|
46
|
+
useTab: boolean;
|
|
45
47
|
extensions: never[];
|
|
46
48
|
starterKit: void;
|
|
47
49
|
showControlOnReadonly: boolean;
|
|
@@ -60,6 +62,7 @@ export declare const PowerEditor: {
|
|
|
60
62
|
readonly showSave?: boolean | undefined;
|
|
61
63
|
readonly toolbarHeight?: number | undefined;
|
|
62
64
|
readonly toolbarBorderRadius?: number | undefined;
|
|
65
|
+
readonly ignoreDragNodeType?: unknown[] | undefined;
|
|
63
66
|
readonly disabledPlaceholder?: boolean | undefined;
|
|
64
67
|
readonly contentMaxWidth?: string | undefined;
|
|
65
68
|
readonly linkColor?: string | undefined;
|
|
@@ -81,6 +84,7 @@ export declare const PowerEditor: {
|
|
|
81
84
|
readonly imgPreview?: boolean | undefined;
|
|
82
85
|
readonly mentionItemAttr?: {} | undefined;
|
|
83
86
|
readonly imgLazyLoad?: boolean | undefined;
|
|
87
|
+
readonly useTab?: boolean | undefined;
|
|
84
88
|
readonly extensions?: never[] | undefined;
|
|
85
89
|
readonly starterKit?: void | undefined;
|
|
86
90
|
readonly showControlOnReadonly?: boolean | undefined;
|
|
@@ -101,6 +105,7 @@ export declare const PowerEditor: {
|
|
|
101
105
|
}, {
|
|
102
106
|
init(): void;
|
|
103
107
|
eventInit(): void;
|
|
108
|
+
handleEditorKeyDown(event: any): boolean;
|
|
104
109
|
bubbleMenuShouldShow({ editor, view, state, from, to }: {
|
|
105
110
|
editor: any;
|
|
106
111
|
view: any;
|
|
@@ -1439,13 +1444,17 @@ export declare const PowerEditor: {
|
|
|
1439
1444
|
type: BooleanConstructor;
|
|
1440
1445
|
default: boolean;
|
|
1441
1446
|
};
|
|
1447
|
+
ignoreDragNodeType: {
|
|
1448
|
+
default: () => never[];
|
|
1449
|
+
type: ArrayConstructor;
|
|
1450
|
+
};
|
|
1442
1451
|
theme: {
|
|
1443
1452
|
default: string;
|
|
1444
1453
|
};
|
|
1445
1454
|
}>, {}, {
|
|
1446
1455
|
visible: boolean;
|
|
1447
1456
|
nodeHeight: number;
|
|
1448
|
-
filterNodeTypes:
|
|
1457
|
+
filterNodeTypes: unknown[];
|
|
1449
1458
|
}, {
|
|
1450
1459
|
nestedOptions(): false | {
|
|
1451
1460
|
edgeDetection: {
|
|
@@ -1467,12 +1476,17 @@ export declare const PowerEditor: {
|
|
|
1467
1476
|
type: BooleanConstructor;
|
|
1468
1477
|
default: boolean;
|
|
1469
1478
|
};
|
|
1479
|
+
ignoreDragNodeType: {
|
|
1480
|
+
default: () => never[];
|
|
1481
|
+
type: ArrayConstructor;
|
|
1482
|
+
};
|
|
1470
1483
|
theme: {
|
|
1471
1484
|
default: string;
|
|
1472
1485
|
};
|
|
1473
1486
|
}>> & Readonly<{}>, {
|
|
1474
1487
|
theme: string;
|
|
1475
1488
|
nested: boolean;
|
|
1489
|
+
ignoreDragNodeType: unknown[];
|
|
1476
1490
|
}, {}, {
|
|
1477
1491
|
DragHandle: any;
|
|
1478
1492
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -6,13 +6,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
+
ignoreDragNodeType: {
|
|
10
|
+
default: () => never[];
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
};
|
|
9
13
|
theme: {
|
|
10
14
|
default: string;
|
|
11
15
|
};
|
|
12
16
|
}>, {}, {
|
|
13
17
|
visible: boolean;
|
|
14
18
|
nodeHeight: number;
|
|
15
|
-
filterNodeTypes:
|
|
19
|
+
filterNodeTypes: unknown[];
|
|
16
20
|
}, {
|
|
17
21
|
nestedOptions(): false | {
|
|
18
22
|
edgeDetection: {
|
|
@@ -34,12 +38,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
38
|
type: BooleanConstructor;
|
|
35
39
|
default: boolean;
|
|
36
40
|
};
|
|
41
|
+
ignoreDragNodeType: {
|
|
42
|
+
default: () => never[];
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
};
|
|
37
45
|
theme: {
|
|
38
46
|
default: string;
|
|
39
47
|
};
|
|
40
48
|
}>> & Readonly<{}>, {
|
|
41
49
|
theme: string;
|
|
42
50
|
nested: boolean;
|
|
51
|
+
ignoreDragNodeType: unknown[];
|
|
43
52
|
}, {}, {
|
|
44
53
|
DragHandle: any;
|
|
45
54
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -16,6 +16,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
16
16
|
showSave: boolean;
|
|
17
17
|
toolbarHeight: number;
|
|
18
18
|
toolbarBorderRadius: number;
|
|
19
|
+
ignoreDragNodeType: unknown[];
|
|
19
20
|
disabledPlaceholder: boolean;
|
|
20
21
|
contentMaxWidth: string;
|
|
21
22
|
linkColor: string;
|
|
@@ -37,6 +38,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
37
38
|
imgPreview: boolean;
|
|
38
39
|
mentionItemAttr: {};
|
|
39
40
|
imgLazyLoad: boolean;
|
|
41
|
+
useTab: boolean;
|
|
40
42
|
extensions: never[];
|
|
41
43
|
starterKit: void;
|
|
42
44
|
showControlOnReadonly: boolean;
|
|
@@ -55,6 +57,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
55
57
|
readonly showSave?: boolean | undefined;
|
|
56
58
|
readonly toolbarHeight?: number | undefined;
|
|
57
59
|
readonly toolbarBorderRadius?: number | undefined;
|
|
60
|
+
readonly ignoreDragNodeType?: unknown[] | undefined;
|
|
58
61
|
readonly disabledPlaceholder?: boolean | undefined;
|
|
59
62
|
readonly contentMaxWidth?: string | undefined;
|
|
60
63
|
readonly linkColor?: string | undefined;
|
|
@@ -76,6 +79,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
76
79
|
readonly imgPreview?: boolean | undefined;
|
|
77
80
|
readonly mentionItemAttr?: {} | undefined;
|
|
78
81
|
readonly imgLazyLoad?: boolean | undefined;
|
|
82
|
+
readonly useTab?: boolean | undefined;
|
|
79
83
|
readonly extensions?: never[] | undefined;
|
|
80
84
|
readonly starterKit?: void | undefined;
|
|
81
85
|
readonly showControlOnReadonly?: boolean | undefined;
|
|
@@ -96,6 +100,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
96
100
|
}, {
|
|
97
101
|
init(): void;
|
|
98
102
|
eventInit(): void;
|
|
103
|
+
handleEditorKeyDown(event: any): boolean;
|
|
99
104
|
bubbleMenuShouldShow({ editor, view, state, from, to }: {
|
|
100
105
|
editor: any;
|
|
101
106
|
view: any;
|
|
@@ -1434,13 +1439,17 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
1434
1439
|
type: BooleanConstructor;
|
|
1435
1440
|
default: boolean;
|
|
1436
1441
|
};
|
|
1442
|
+
ignoreDragNodeType: {
|
|
1443
|
+
default: () => never[];
|
|
1444
|
+
type: ArrayConstructor;
|
|
1445
|
+
};
|
|
1437
1446
|
theme: {
|
|
1438
1447
|
default: string;
|
|
1439
1448
|
};
|
|
1440
1449
|
}>, {}, {
|
|
1441
1450
|
visible: boolean;
|
|
1442
1451
|
nodeHeight: number;
|
|
1443
|
-
filterNodeTypes:
|
|
1452
|
+
filterNodeTypes: unknown[];
|
|
1444
1453
|
}, {
|
|
1445
1454
|
nestedOptions(): false | {
|
|
1446
1455
|
edgeDetection: {
|
|
@@ -1462,12 +1471,17 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {
|
|
|
1462
1471
|
type: BooleanConstructor;
|
|
1463
1472
|
default: boolean;
|
|
1464
1473
|
};
|
|
1474
|
+
ignoreDragNodeType: {
|
|
1475
|
+
default: () => never[];
|
|
1476
|
+
type: ArrayConstructor;
|
|
1477
|
+
};
|
|
1465
1478
|
theme: {
|
|
1466
1479
|
default: string;
|
|
1467
1480
|
};
|
|
1468
1481
|
}>> & Readonly<{}>, {
|
|
1469
1482
|
theme: string;
|
|
1470
1483
|
nested: boolean;
|
|
1484
|
+
ignoreDragNodeType: unknown[];
|
|
1471
1485
|
}, {}, {
|
|
1472
1486
|
DragHandle: any;
|
|
1473
1487
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|