@univerjsdocsReadme

@univerjs/docs v0.5.0-beta.1Docs


@univerjs/docs

Classes

ClassDescription
DocInterceptorServiceEvery render module should implement this interface.
DocSelectionManagerServiceThis service is for text selection.
DocSkeletonManagerServiceThis service is for document build and manage doc skeletons. It also manages DocumentViewModels.
DocStateEmitService-
UniverDocsPluginPlug-in base class, all plug-ins must inherit from this base class. Provide basic methods.

Interfaces

InterfaceDescription
IDocStateChangeInfo-
IDocStateChangeParams-
IRichTextEditingMutationParams-
ISetTextSelectionsOperationParams-
IUniverDocsConfig-

Variables

VariableDescription
DOC_INTERCEPTOR_POINT-
RichTextEditingMutationThe core mutator to change rich text actions. The execution result would be undo mutation params. Could be directly send to undo redo service (will be used by the triggering command).
SetTextSelectionsOperation-

Functions

FunctionDescription
addCustomRangeBySelectionFactory-
addCustomRangeFactory-
deleteCustomRangeFactory-
replaceSelectionFactory-