@wangeditor-next/plugin-float-image 1.0.23 → 1.0.25

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.
@@ -98,6 +98,7 @@ interface ICodeLangConfig {
98
98
  codeLangs: {
99
99
  text: string;
100
100
  value: string;
101
+ selected?: boolean;
101
102
  }[];
102
103
  }
103
104
  export interface IMenuConfig {
@@ -7,9 +7,9 @@ declare class TableFullWidth implements IButtonMenu {
7
7
  readonly title: string;
8
8
  readonly iconSvg = "<svg viewBox=\"0 0 1228 1024\"><path d=\"M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z\"></path></svg>";
9
9
  readonly tag = "button";
10
- getValue(editor: IDomEditor): string | boolean;
11
- isActive(editor: IDomEditor): boolean;
10
+ getValue(_editor: IDomEditor): string | boolean;
11
+ isActive(_editor: IDomEditor): boolean;
12
12
  isDisabled(editor: IDomEditor): boolean;
13
- exec(editor: IDomEditor, value: string | boolean): void;
13
+ exec(editor: IDomEditor, _value: string | boolean): void;
14
14
  }
15
15
  export default TableFullWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-float-image",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "wangEditor float image plugin",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -34,11 +34,14 @@
34
34
  "url": "https://github.com/wangeditor-next/wangeditor-next/issues"
35
35
  },
36
36
  "peerDependencies": {
37
- "@wangeditor-next/editor": "5.6.38",
37
+ "@wangeditor-next/editor": "5.6.40",
38
38
  "dom7": "^3.0.0 || ^4.0.0",
39
39
  "slate": "^0.82.0",
40
40
  "snabbdom": "^3.6.0"
41
41
  },
42
+ "devDependencies": {
43
+ "@wangeditor-next-shared/rollup-config": "^0.0.1"
44
+ },
42
45
  "scripts": {
43
46
  "dev": "cross-env NODE_ENV=development rollup -c rollup.config.js",
44
47
  "dev-watch": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",