Skip to content

removeCommentMark

function removeCommentMark(
tx,
doc,
threadId): void;

Defined in: comments/doc.ts:145

Remove every comment mark for threadId from the document. Walks the doc to find each run and emits a precise removeMark per run (a blanket remove by type would also strip other threads’ highlights that happen to be adjacent).

ParameterType
txTransaction
docDocumentNode
threadIdstring

void