@wangeditor-next/plugin-float-image 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-float-image",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "wangEditor float image plugin",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "url": "https://github.com/cycleccc/wangEditor/issues"
42
42
  },
43
43
  "peerDependencies": {
44
- "@wangeditor-next/editor": "5.6.15",
45
- "dom7": "^3.0.0",
44
+ "@wangeditor-next/editor": "5.6.17",
45
+ "dom7": "^3.0.0 || ^4.0.0",
46
46
  "slate": "^0.72.0",
47
47
  "snabbdom": "^3.1.0"
48
48
  }