Skip to content

BlockSuite API Documentation / @blocksuite/inline / transformDelta

Function: transformDelta()

transformDelta<TextAttributes>(delta): (DeltaInsert<TextAttributes> | "\n")[]

Type parameters

TextAttributes extends object

Parameters

delta: DeltaInsert<TextAttributes>

Returns

(DeltaInsert<TextAttributes> | "\n")[]

Source

packages/framework/inline/src/utils/delta-convert.ts:4