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/inline/src/utils/delta-convert.ts:4


Generated using typedoc-plugin-markdown and TypeDoc