Skip to content

BlockSuite API Documentation / @blocksuite/inline / renderElement

Function: renderElement()

renderElement<TextAttributes>(delta, parseAttributes, selected): TemplateResult<1>

Type parameters

TextAttributes extends Object

Parameters

delta: DeltaInsert<TextAttributes>

parseAttributes

selected: boolean

Returns

TemplateResult<1>

Source

packages/framework/inline/src/utils/renderer.ts:6