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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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';
6
7
  import { VNode } from 'snabbdom';
7
- import { Node, Ancestor, Editor, Path, Range } from 'slate';
8
+ import { IEditorConfig } from '../config/interface';
8
9
  import { IDomEditor } from '../editor/interface';
9
- import TextArea from '../text-area/TextArea';
10
- import Toolbar from '../menus/bar/Toolbar';
11
10
  import HoverBar from '../menus/bar/HoverBar';
11
+ import Toolbar from '../menus/bar/Toolbar';
12
12
  import { IBarItem } from '../menus/bar-item/index';
13
- import { Key } from './key';
14
- import { PatchFn } from '../utils/vdom';
15
- import { IEditorConfig } from '../config/interface';
16
13
  import PanelAndModal from '../menus/panel-and-modal/BaseClass';
14
+ import TextArea from '../text-area/TextArea';
15
+ import { PatchFn } from '../utils/vdom';
16
+ import { Key } from './key';
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,5 +52,6 @@ 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>;
55
56
  export declare const EDITOR_TO_EMITTER: WeakMap<Editor, Emitter>;
56
57
  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.7",
3
+ "version": "0.1.10",
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.11",
44
+ "@wangeditor-next/editor": "5.6.13",
45
45
  "dom7": "^3.0.0",
46
46
  "slate": "^0.72.0",
47
47
  "snabbdom": "^3.1.0"