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<{ bold: null | true; code: null | true; italic: null | true; link: null | string; strike: null | true; underline: null | true; }>

Returns

void

Defined in

packages/framework/inline/src/utils/transform-input.ts:53