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")[]

Defined in

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