Editor โ€บ replaceRange

Editor.replaceRange() method

Signature:

abstract replaceRange(replacement: string, from: EditorPosition, to?: EditorPosition, origin?: string): void;

Parameters

ParameterTypeDescription
replacementstring
fromEditorPosition
toEditorPosition(Optional)
originstring(Optional)

Returns:

void