feat: add word break option #212

This commit is contained in:
Hufe921
2023-07-12 20:40:58 +08:00
parent 0c4d53ccc9
commit d471165430
7 changed files with 53 additions and 7 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import { IElement } from '..'
import { EditorMode, PageMode, PaperDirection } from '../dataset/enum/Editor'
import { EditorMode, PageMode, PaperDirection, WordBreak } from '../dataset/enum/Editor'
import { ICheckboxOption } from './Checkbox'
import { IControlOption } from './Control'
import { ICursorOption } from './Cursor'
@@ -52,6 +52,7 @@ export interface IEditorOption {
paperDirection?: PaperDirection;
inactiveAlpha?: number;
historyMaxRecordCount?: number;
wordBreak?: WordBreak;
header?: IHeader;
footer?: IFooter;
pageNumber?: IPageNumber;