chore: export splitText function

This commit is contained in:
Hufe921
2023-12-06 20:30:55 +08:00
parent 3f1babec68
commit bcbd879e0f
2 changed files with 12 additions and 7 deletions
+8 -4
View File
@@ -68,6 +68,7 @@ import { IPageBreak } from './interface/PageBreak'
import { LETTER_CLASS } from './dataset/constant/Common'
import { INTERNAL_CONTEXT_MENU_KEY } from './dataset/constant/ContextMenu'
import { IRange } from './interface/Range'
import { splitText } from './utils'
export default class Editor {
public command: Command
@@ -248,11 +249,14 @@ export default class Editor {
}
}
// 对外对象
// 对外方法
export { splitText }
// 对外常量
export { EDITOR_COMPONENT, LETTER_CLASS, INTERNAL_CONTEXT_MENU_KEY }
// 对外枚举
export {
EDITOR_COMPONENT,
LETTER_CLASS,
INTERNAL_CONTEXT_MENU_KEY,
Editor,
RowFlex,
VerticalAlign,