BlockSuite API Documentation / @blocksuite/inline / transformDeltasToEmbedDeltas
Function: transformDeltasToEmbedDeltas() ​
transformDeltasToEmbedDeltas<
TextAttributes
>(editor
,deltas
):DeltaInsert
<TextAttributes
>[]
Type parameters ​
• TextAttributes extends Object
= Object
Parameters ​
• editor: InlineEditor
<TextAttributes
>
• deltas: DeltaInsert
<TextAttributes
>[]
Returns ​
DeltaInsert
<TextAttributes
>[]
Source ​
packages/inline/src/utils/embed.ts:35
Generated using typedoc-plugin-markdown and TypeDoc