addCommentMark
function addCommentMark( tx, range, threadId): void;Defined in: comments/doc.ts:130
Stamp a comment mark for threadId across range on a transaction.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
tx | Transaction |
range | | { from: { offset: number; path: BlockPath; }; to: { offset: number; path: BlockPath; }; } | { from: number; path: BlockPath; to: number; } |
threadId | string |
Returns
Section titled “Returns”void