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
>
Defined in
packages/framework/inline/src/utils/renderer.ts:6