@kaitify/core 0.0.2-beta.4 → 0.0.2-beta.5
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.
- package/lib/kaitify-core.es.js +11 -7
- package/lib/kaitify-core.umd.js +1 -1
- package/lib/model/Editor.d.ts +8 -0
- package/package.json +1 -1
package/lib/model/Editor.d.ts
CHANGED
|
@@ -187,6 +187,14 @@ export type EditorConfigureOptionType = {
|
|
|
187
187
|
* 是否深色模式
|
|
188
188
|
*/
|
|
189
189
|
dark?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* 编辑器初始创建时触发
|
|
192
|
+
*/
|
|
193
|
+
onCreate?: (editor: Editor) => void;
|
|
194
|
+
/**
|
|
195
|
+
* 编辑器初始创建完成后触发
|
|
196
|
+
*/
|
|
197
|
+
onCreated?: (editor: Editor) => void;
|
|
190
198
|
};
|
|
191
199
|
/**
|
|
192
200
|
* 编辑器核心类
|