@wangeditor-kai/editor 5.6.48 → 5.6.50
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.
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
+
|
|
2
3
|
* @description parse node html
|
|
4
|
+
|
|
3
5
|
* @author wangfupeng
|
|
6
|
+
|
|
4
7
|
*/
|
|
8
|
+
|
|
5
9
|
import { Dom7Array } from 'dom7';
|
|
10
|
+
|
|
6
11
|
import { Descendant } from 'slate';
|
|
12
|
+
|
|
7
13
|
import { IDomEditor } from '../editor/interface';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
|
|
17
|
+
* 处理 DOM Elem html
|
|
18
|
+
|
|
19
|
+
* @param $elem $elem
|
|
20
|
+
|
|
21
|
+
* @param editor editor
|
|
22
|
+
|
|
23
|
+
* @returns slate Descendant
|
|
24
|
+
|
|
25
|
+
*/
|
|
26
|
+
|
|
8
27
|
declare function parseElemHtml($elem: Dom7Array, editor: IDomEditor): Descendant | Descendant[];
|
|
28
|
+
|
|
9
29
|
export default parseElemHtml;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-kai/editor",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.50",
|
|
4
4
|
"description": "Web rich text editor, Web 富文本编辑器 仅个人修改使用",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wangeditor",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@wangeditor-kai/code-highlight": "^1.3.36",
|
|
60
60
|
"@wangeditor-kai/core": "^1.7.41",
|
|
61
61
|
"@wangeditor-kai/list-module": "^1.1.45",
|
|
62
|
-
"@wangeditor-kai/plugin-formula": "1.0.
|
|
62
|
+
"@wangeditor-kai/plugin-formula": "1.0.36",
|
|
63
63
|
"@wangeditor-kai/table-module": "^1.6.50",
|
|
64
64
|
"@wangeditor-kai/upload-image-module": "^1.1.42",
|
|
65
65
|
"@wangeditor-kai/video-module": "^1.3.45",
|