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: (textAttributes?) => undefined | TextAttributes

• selected: boolean

Returns ​

TemplateResult<1>

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc