Skip to content

BlockSuite API Documentation / @blocksuite/virgo / transformDelta

Function: transformDelta() ​

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

Type parameters ​

• TextAttributes extends Object

Parameters ​

• delta: DeltaInsert<TextAttributes>

Returns ​

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

Source ​

packages/virgo/src/utils/delta-convert.ts:4


Generated using typedoc-plugin-markdown and TypeDoc