Select text in the editor and click Comment in the toolbar (or call editor.comments.add()) to start a thread. A sidebar opens docked to the right of the editor with author avatar, timestamp, replies, and Resolve / Delete actions. Every comment rides the shared review ledger, so it persists alongside AI suggestions and tracked changes.
Comments wrap the selected range in a <span class="rte-comment"> highlighted pill tied to a comment id. Clicking any highlighted text opens its thread in the sidebar; replies are typed in the reply input and posted with Enter. Resolving unwraps the span and marks the ledger entry; deleting removes both.
<richtextbox
name="Article"
toolbar="default"
enable-comments="true"
current-user-id="@User.Identity?.Name"
current-user-name="@User.FindFirst(ClaimTypes.GivenName)?.Value"
current-user-color="#2563eb" />
editor.comments.add({ text: "Needs a crisper lead paragraph." }); // uses current selection
editor.comments.reply(commentId, "Agreed. Let me take a pass.");
editor.comments.resolve(commentId);
editor.comments.delete(commentId);
editor.comments.list({ status: "pending" });
editor.comments.openSidebar() / closeSidebar() / toggleSidebar();