@univerjs/docs-ui v0.5.4


Interface: IEditorService

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:48

Properties

PropertyTypeDefined in
blur$Observable<unknown>submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:59
focus$Observable<ISuccinctDocRangeParam>submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:62

Methods

blur()

blur(): void

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:60

Returns

void


focus()

focus(editorUnitId): void

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:63

Parameters

ParameterType
editorUnitIdstring

Returns

void


getAllEditor()

getAllEditor(): Map<string, Editor>

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:53

Returns

Map<string, Editor>


getEditor()

getEditor(id?): Readonly<Nullable<Editor>>

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:49

Parameters

ParameterType
id?string

Returns

Readonly<Nullable<Editor>>


getFocusEditor()

getFocusEditor(): Readonly<Nullable<Editor>>

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:66

Returns

Readonly<Nullable<Editor>>


getFocusId()

getFocusId(): Nullable<string>

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:65

Returns

Nullable<string>


isEditor()

isEditor(editorUnitId): boolean

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:55

Parameters

ParameterType
editorUnitIdstring

Returns

boolean


isSheetEditor()

isSheetEditor(editorUnitId): boolean

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:57

Parameters

ParameterType
editorUnitIdstring

Returns

boolean


register()

register(config, container): IDisposable

Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:51

Parameters

ParameterType
configIEditorConfigParams
containerHTMLDivElement

Returns

IDisposable