Skip to content

BlockSuite API Documentation / @blocksuite/virgo / transformInput

Function: transformInput() ​

transformInput<TextAttributes>(inputType, data, attributes, vRange, editor): void

Type parameters ​

• TextAttributes extends Object

Parameters ​

• inputType: string

• data: null | string

• attributes: TextAttributes

• vRange: VRange

• editor: VEditor<Object>

Returns ​

void

Source ​

packages/virgo/src/utils/transform-input.ts:35


Generated using typedoc-plugin-markdown and TypeDoc