fn
insertTextInline
testedInsert `text` (carrying `marks`) at character `offset`.
Signature
ts
export function insertTextInline(inline: Inline, offset: number, text: string, marks: Marks): Inline{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
inline | Inline | — |
offset | number | — |
text | string | — |
marks | Marks | — |
Returns
Inline