@wangeditor-next/plugin-formula 0.0.6 → 0.0.7
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';
|
7
6
|
import { VNode } from 'snabbdom';
|
8
|
-
import {
|
7
|
+
import { Node, Ancestor, Editor, Path, Range } from 'slate';
|
9
8
|
import { IDomEditor } from '../editor/interface';
|
10
|
-
import
|
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-formula",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.7",
|
4
4
|
"description": "wangEditor next formula 公式",
|
5
5
|
"author": "cycleccc <2991205548@qq.com>",
|
6
6
|
"type": "module",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"rollup-plugin-string": "^3.0.0"
|
46
46
|
},
|
47
47
|
"peerDependencies": {
|
48
|
-
"@wangeditor-next/editor": "5.6.
|
48
|
+
"@wangeditor-next/editor": "5.6.14",
|
49
49
|
"katex": "^0.16.0",
|
50
50
|
"snabbdom": "^3.1.0"
|
51
51
|
},
|