Class: EditorModel
Implements
Constructors
constructor
• new EditorModel(current?, groups?, entry, editorOptions?)
Parameters
| Name | Type | Default value |
|---|---|---|
current | null | IEditorGroup<any, any> | null |
groups | IEditorGroup<any, any>[] | [] |
entry | ReactNode | undefined |
editorOptions | IEditorOptions | {} |
Defined in
src/model/workbench/editor.ts:110
Properties
current
• current: null | IEditorGroup<any, any>
Current editor group
Implementation of
Defined in
src/model/workbench/editor.ts:105
editorOptions
• editorOptions: IEditorOptions
Built-in editor options, there is main apply it to monaco-editor
Implementation of
Defined in
src/model/workbench/editor.ts:108
entry
• entry: ReactNode
The welcome page of editor bench
Implementation of
Defined in
src/model/workbench/editor.ts:107
groups
• groups: IEditorGroup<any, any>[]
Editor Groups