@wangeditor-next/plugin-float-image 0.1.10 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,4 +34,4 @@ export declare function htmlToContent(editor: IDomEditor, html?: string): Descen
34
34
  export declare function initializeContent(editor: IDomEditor, options: {
35
35
  html?: string;
36
36
  content?: Descendant[];
37
- }): Descendant[];
37
+ }): void;
@@ -3,17 +3,17 @@
3
3
  * @author wangfupeng
4
4
  */
5
5
  import { Emitter } from 'event-emitter';
6
- import { Ancestor, Editor, Node, Path, Range } from 'slate';
7
6
  import { VNode } from 'snabbdom';
8
- import { IEditorConfig } from '../config/interface';
7
+ import { Node, Ancestor, Editor, Path, Range } from 'slate';
9
8
  import { IDomEditor } from '../editor/interface';
10
- import HoverBar from '../menus/bar/HoverBar';
9
+ import TextArea from '../text-area/TextArea';
11
10
  import Toolbar from '../menus/bar/Toolbar';
11
+ import HoverBar from '../menus/bar/HoverBar';
12
12
  import { IBarItem } from '../menus/bar-item/index';
13
- import PanelAndModal from '../menus/panel-and-modal/BaseClass';
14
- import TextArea from '../text-area/TextArea';
15
- import { PatchFn } from '../utils/vdom';
16
13
  import { Key } from './key';
14
+ import { PatchFn } from '../utils/vdom';
15
+ import { IEditorConfig } from '../config/interface';
16
+ import PanelAndModal from '../menus/panel-and-modal/BaseClass';
17
17
  export declare const EDITOR_TO_TEXTAREA: WeakMap<IDomEditor, TextArea>;
18
18
  export declare const TEXTAREA_TO_EDITOR: WeakMap<TextArea, IDomEditor>;
19
19
  export declare const TOOLBAR_TO_EDITOR: WeakMap<Toolbar, IDomEditor>;
@@ -52,6 +52,5 @@ export declare const IS_DRAGGING: WeakMap<Editor, boolean>;
52
52
  export declare const IS_CLICKING: WeakMap<Editor, boolean>;
53
53
  export declare const CHANGING_NODE_PATH: WeakMap<Editor, Path>;
54
54
  export declare const EDITOR_TO_SELECTION: WeakMap<Editor, Range>;
55
- export declare const TEXTAREA_TO_SELECTION: WeakMap<TextArea, Range>;
56
55
  export declare const EDITOR_TO_EMITTER: WeakMap<Editor, Emitter>;
57
56
  export declare const EDITOR_TO_CAN_PASTE: WeakMap<Editor, boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-next/plugin-float-image",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "wangEditor float image plugin",
5
5
  "author": "cycleccc <2991205548@qq.com>",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "url": "https://github.com/cycleccc/wangEditor/issues"
42
42
  },
43
43
  "peerDependencies": {
44
- "@wangeditor-next/editor": "5.6.13",
44
+ "@wangeditor-next/editor": "5.6.15",
45
45
  "dom7": "^3.0.0",
46
46
  "slate": "^0.72.0",
47
47
  "snabbdom": "^3.1.0"