@wangeditor-next/list-module 1.1.39 → 1.1.41
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.
|
@@ -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 {
|
|
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>;
|
|
@@ -27,6 +27,8 @@ export declare const EDITOR_TO_CONFIG: WeakMap<IDomEditor, IEditorConfig>;
|
|
|
27
27
|
export declare const IS_FIRST_PATCH: WeakMap<TextArea, boolean>;
|
|
28
28
|
export declare const TEXTAREA_TO_PATCH_FN: WeakMap<TextArea, PatchFn>;
|
|
29
29
|
export declare const TEXTAREA_TO_VNODE: WeakMap<TextArea, VNode>;
|
|
30
|
+
export declare const NODE_TO_VNODE: WeakMap<Node, [number, VNode]>;
|
|
31
|
+
export declare const NODE_TO_HTML: WeakMap<Node, String>;
|
|
30
32
|
/**
|
|
31
33
|
* Two weak maps that allow us rebuild a path given a node. They are populated
|
|
32
34
|
* at render time such that after a render occurs we can always backtrack.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/list-module",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"description": "wangEditor list module",
|
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
|
6
6
|
"type": "module",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"url": "https://github.com/wangeditor-next/wangeditor-next/issues"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@wangeditor-next/core": "1.7.
|
|
47
|
+
"@wangeditor-next/core": "1.7.35",
|
|
48
48
|
"dom7": "^3.0.0 || ^4.0.0",
|
|
49
|
-
"slate": "^0.
|
|
49
|
+
"slate": "^0.82.0",
|
|
50
50
|
"snabbdom": "^3.6.0"
|
|
51
51
|
}
|
|
52
52
|
}
|