zy-react-library 1.0.141 → 1.0.143
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,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IDomEditor } from "@wangeditor/editor";
|
|
2
2
|
import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
export interface EditorProps {
|
|
@@ -12,7 +12,7 @@ export interface EditorProps {
|
|
|
12
12
|
|
|
13
13
|
export interface EditorRef {
|
|
14
14
|
/** 获取编辑器实例 */
|
|
15
|
-
getEditorInstance: () =>
|
|
15
|
+
getEditorInstance: () => IDomEditor | null;
|
|
16
16
|
/** 获取HTML内容 */
|
|
17
17
|
getHtml: () => string | undefined;
|
|
18
18
|
/** 设置HTML内容 */
|
package/hooks/useTable/index.js
CHANGED