@wangeditor-kai/editor 5.6.50 → 5.6.51

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,29 +1,9 @@
1
1
  /**
2
-
3
2
  * @description parse node html
4
-
5
3
  * @author wangfupeng
6
-
7
4
  */
8
-
9
5
  import { Dom7Array } from 'dom7';
10
-
11
6
  import { Descendant } from 'slate';
12
-
13
7
  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
-
27
- declare function parseElemHtml($elem: Dom7Array, editor: IDomEditor): Descendant | Descendant[];
28
-
8
+ declare function parseElemHtml($elem: Dom7Array, editor: IDomEditor, inheritedMarks?: Record<string, any>, inheritedNonText?: Record<string, any>): Descendant | Descendant[];
29
9
  export default parseElemHtml;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wangeditor-kai/editor",
3
- "version": "5.6.50",
3
+ "version": "5.6.51",
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.36",
62
+ "@wangeditor-kai/plugin-formula": "1.0.38",
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",