@wangeditor-next/plugin-float-image 1.0.20 → 1.0.22

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.
@@ -4,7 +4,6 @@ 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;
8
7
  getValue(_editor: IDomEditor): string | boolean;
9
8
  isActive(_editor: IDomEditor): boolean;
10
9
  isDisabled(editor: IDomEditor): boolean;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { DOMElement } from '../utils/dom';
6
6
  /**
7
- * pre-prase table ,去掉 <tbody>
7
+ * pre-prase table ,去掉 <tbody> 和处理单元格中的 <p> 标签,以及删除隐藏的单元格
8
8
  * @param table table elem
9
9
  */
10
10
  declare function preParse(tableElem: DOMElement): DOMElement;
@@ -18,7 +18,7 @@ export declare const insertVideoMenuConf: {
18
18
  export declare const uploadVideoMenuConf: {
19
19
  key: string;
20
20
  factory(): UploadVideoMenu;
21
- config: import("@wangeditor-next/core").IUploadVideoConfig;
21
+ config: import("@wangeditor-next/core").IUploadConfig;
22
22
  };
23
23
  export declare const editorVideoSizeMenuConf: {
24
24
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-float-image",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "wangEditor float image plugin",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "url": "https://github.com/wangeditor-next/wangeditor-next/issues"
35
35
  },
36
36
  "peerDependencies": {
37
- "@wangeditor-next/editor": "5.6.35",
37
+ "@wangeditor-next/editor": "5.6.37",
38
38
  "dom7": "^3.0.0 || ^4.0.0",
39
39
  "slate": "^0.82.0",
40
40
  "snabbdom": "^3.6.0"