Skip to content

applyMarkToRange

function applyMarkToRange(
spans,
from,
to,
mark,
mode): TextSpan[];

Defined in: document.ts:183

ParameterType
spansTextSpan[] | undefined
fromnumber
tonumber
markMarkInstance
mode"add" | "remove"

TextSpan[]