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/framework/inline/src/utils/embed.ts:35
Generated using TypeDoc and typedoc-plugin-markdown.