Skip to content

BlockSuite API Documentation / @blocksuite/inline / transformInput

Function: transformInput() ​

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

Type parameters ​

• TextAttributes extends Object

Parameters ​

• inputType: string

• data: null | string

• attributes: TextAttributes

• inlineRange: InlineRange

• editor: InlineEditor<Object>

Returns ​

void

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc