chore: export splitText function
This commit is contained in:
+8
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user