Skip to content

BlockSuite API Documentation / @blocksuite/inline / transformDelta

Function: transformDelta()

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

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

Type Parameters

TextAttributes

TextAttributes extends object

Parameters

delta

DeltaInsert<TextAttributes>

Returns

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