Skip to content

BlockSuite API Documentation / @blocksuite/inline / RenderService

Class: RenderService<TextAttributes>

Defined in: packages/framework/inline/src/services/render.ts:12

Type Parameters

TextAttributes

TextAttributes extends BaseTextAttributes

Constructors

new RenderService()

new RenderService<TextAttributes>(editor): RenderService<TextAttributes>

Defined in: packages/framework/inline/src/services/render.ts:184

Parameters

editor

InlineEditor<TextAttributes>

Returns

RenderService<TextAttributes>

Properties

editor

readonly editor: InlineEditor<TextAttributes>

Defined in: packages/framework/inline/src/services/render.ts:184

Accessors

rendering

Get Signature

get rendering(): boolean

Defined in: packages/framework/inline/src/services/render.ts:78

Returns

boolean

Methods

mount()

mount(): void

Defined in: packages/framework/inline/src/services/render.ts:65

Returns

void


render()

render(): void

Defined in: packages/framework/inline/src/services/render.ts:82

Returns

void


rerenderWholeEditor()

rerenderWholeEditor(): void

Defined in: packages/framework/inline/src/services/render.ts:162

Returns

void


waitForUpdate()

waitForUpdate(): Promise<void>

Defined in: packages/framework/inline/src/services/render.ts:176

Returns

Promise<void>