Skip to content

BlockSuite API Documentation / @blocksuite/inline / EventService

Class: EventService<TextAttributes>

Type Parameters

TextAttributes extends BaseTextAttributes

Constructors

new EventService()

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

Parameters

editor: InlineEditor<TextAttributes>

Returns

EventService<TextAttributes>

Defined in

packages/framework/inline/src/services/event.ts:395

Properties

editor

readonly editor: InlineEditor<TextAttributes>

Defined in

packages/framework/inline/src/services/event.ts:395

Accessors

inlineRangeProvider

get inlineRangeProvider(): null | InlineRangeProvider

Returns

null | InlineRangeProvider

Defined in

packages/framework/inline/src/services/event.ts:387


isComposing

get isComposing(): boolean

Returns

boolean

Defined in

packages/framework/inline/src/services/event.ts:391

Methods

mount()

mount(): void

Returns

void

Defined in

packages/framework/inline/src/services/event.ts:340