BlockSuite API Documentation / @blocksuite/inline / AttributeRenderer
Type Alias: AttributeRenderer()<TextAttributes>
AttributeRenderer<
TextAttributes> = (props) =>TemplateResult<1>
Defined in: packages/framework/inline/src/types.ts:13
Type Parameters
TextAttributes
TextAttributes extends BaseTextAttributes = BaseTextAttributes
Parameters
props
delta
DeltaInsert<TextAttributes>
editor
InlineEditor<TextAttributes>
endOffset
number
lineIndex
number
selected
boolean
startOffset
number
Returns
TemplateResult<1>