Skip to content

Active Members

Active members displays who else is working on the same email template. The editor renders the list you give it, which makes it a presence indicator rather than full real-time co-editing: two people editing at once will see each other's names, but not each other's changes as they happen.

How to set active members

Pass an array of strings to setActiveMembers:

ts
TopolPlugin.setActiveMembers([
  "test1@topol.io",
  "test2@topol.io"
]);

The strings are usually emails or display names. They appear inside the editor in a dedicated Active Members area or hover panel.

The editor does not detect presence on its own. Who is currently in a template is something your application already knows, so this method takes whatever your collaboration backend reports. Call it whenever that list changes, whether it arrives over WebSocket events or from polling, and the editor updates to match.