Skip to content

BlockSuite API Documentation / @blocksuite/affine-rich-text / cleanSpecifiedTail

Function: cleanSpecifiedTail()

cleanSpecifiedTail(editorHost, inlineEditorOrModel, str): void

Defined in: packages/affine/rich-text/src/dom.ts:123

Remove specified text from the current range.

Parameters

editorHost

EditorHost

inlineEditorOrModel

BlockModel<object> | AffineInlineEditor

str

string

Returns

void