@wangeditor-next/plugin-formula 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ declare class CellProperty extends TableProperty implements IButtonMenu {
|
|
6
6
|
readonly tag = "button";
|
7
7
|
readonly showModal = true;
|
8
8
|
readonly modalWidth = 300;
|
9
|
+
readonly menu = "cell";
|
9
10
|
getModalContentNode(editor: IDomEditor): import("slate").NodeEntry<import("../../utils").WithType<import("packages/custom-types").CustomElement>>;
|
10
11
|
}
|
11
12
|
export default CellProperty;
|
@@ -4,6 +4,7 @@ declare class MergeCell implements IButtonMenu {
|
|
4
4
|
readonly title: string;
|
5
5
|
readonly iconSvg = "<svg viewBox=\"0 0 1024 1024\"><path d=\"M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z\"/></svg>";
|
6
6
|
readonly tag = "button";
|
7
|
+
private needKeepCell;
|
7
8
|
getValue(_editor: IDomEditor): string | boolean;
|
8
9
|
isActive(_editor: IDomEditor): boolean;
|
9
10
|
isDisabled(editor: IDomEditor): boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wangeditor-next/plugin-formula",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"description": "wangEditor next formula 公式",
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
6
6
|
"type": "module",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"katex": "^0.16.0"
|
45
45
|
},
|
46
46
|
"peerDependencies": {
|
47
|
-
"@wangeditor-next/editor": "5.6.
|
47
|
+
"@wangeditor-next/editor": "5.6.18",
|
48
48
|
"katex": "^0.16.0",
|
49
49
|
"snabbdom": "^3.1.0"
|
50
50
|
},
|