Comments

Release 3.3.0 and above.

The comments feature allows you to leave opinions, explanations, and review requests within a document.

When you select specific text or sentences in the document and add a comment, a comment indicator is created at that location. You can manage the comment content and replies in the right-side panel.

Created comments also support the following editing features:

  • Edit: You can change the content of an existing comment.
  • Complete: Comments that have been reviewed can be marked as complete and organized in the list.
  • Reopen: Completed comments can be reopened when needed again.
  • Highlighting: The location where a comment is anchored in the document is highlighted for quick identification.
    • Clicking a comment or reply in the panel highlights the part of the editing area linked to that comment.
    • Clicking the comment icon (comment icon) in the editing area automatically opens the panel and highlights the linked comment in the panel.

This feature is very useful for sharing and organizing opinions during the document review process.

// synapeditor.config.js
{
  'editor.toolbar': [
    // ...
    'showMemo' // Adds the comment button to the toolbar
    // ...
  ]
}

1.00

Comment Edit

1.00

Comment Complete / Reopen

1.00

Change Comment User Info

You can set user info using the setUserInfo API on the editor.

See more: setUserInfo

1.00

Clicking a Comment in the Panel

Clicking a comment in the comment panel highlights the linked comment in the editing area.

1.00

Clicking the Comment Icon in the Editing Area

Clicking the comment icon (comment icon) in the editing area opens the closed comment panel and highlights the comment.

1.00