feat: add design mode #795
This commit is contained in:
@@ -14,7 +14,7 @@ new Editor(container, IEditorData | IElement[], {
|
||||
|
||||
```typescript
|
||||
interface IEditorOption {
|
||||
mode?: EditorMode // Editor mode: Edit, Clean (Visual aids are not displayed, For example: page break), ReadOnly, Form (Only editable within the control), Print (Visual aids are not displayed, Unwritten content control). default: Edit
|
||||
mode?: EditorMode // Editor mode: Edit, Clean (Visual aids are not displayed, For example: page break), ReadOnly, Form (Only editable within the control), Print (Visual aids are not displayed, Unwritten content control), Design (Do not handle configurations such as non deletable and read-only). default: Edit
|
||||
defaultType?: string // Default element type. default: TEXT
|
||||
defaultColor?: string // Default color. default: #000000
|
||||
defaultFont?: string // Default font. default: Microsoft YaHei
|
||||
|
||||
Reference in New Issue
Block a user