Threaded Comments

Select text and click the Comment toolbar button (or press Ctrl+Alt+M) to open a composer. Replies, resolve, and delete are all in the sidebar. Clicking a highlighted passage focuses its thread.

Draft proposal

Select any passage here and add a comment. Colleagues can reply inside the same thread.

Threads support resolve and delete from the sidebar icons.

Example code

<link rel="stylesheet" href="/richtexteditor/rte_theme_default.css" />
<script type="text/javascript" src="/richtexteditor/rte.js"></script>
<script type="text/javascript" src='/richtexteditor/plugins/all_plugins.js'></script>

<div id="cmt_editor">
    <h3>Draft proposal</h3>
    <p>Select any passage here and add a comment. Colleagues can reply inside the same thread.</p>
    <p>Threads support resolve and delete from the sidebar icons.</p>
</div>

<script>
    var cmtcfg = {
        commentsEnabled: true,
        currentUser: { id: "alice", name: "Alice Lee", color: "#2563eb" },
        toolbar: "default"
    };
    var cmtEditor = new RichTextEditor("#cmt_editor", cmtcfg);
</script>