API > @blocksuite/virgo > transformInput
Function: transformInput ​
transformInput<
TextAttributes>(inputType,data,attributes,vRange,editor):void
Type parameters ​
| Parameter | 
|---|
TextAttributes extends {bold: null | true; code: null | true; italic: null | true; link: null | string; strike: null | true; underline: null | true;} | 
Parameters ​
| Parameter | Type | 
|---|---|
inputType | string | 
data | null | string | 
attributes | TextAttributes | 
vRange | VRange | 
editor | VEditor< {bold: null | true; code: null | true; italic: null | true; link: null | string; strike: null | true; underline: null | true;} > | 
Returns ​
void
Defined In ​
packages/virgo/src/utils/transform-input.ts:44