Introduction to Real-Time Collaboration (RTC)
Introduction of what RTC is and its capabilitiesContribute to this page
The Real-Time Collaboration (RTC) plugin for TinyMCE allows 2 or more users to collaborate on the same content in TinyMCE at the same time.
The RTC plugin is designed to use the Tiny Cloud for communicating between the collaborator’s editors, with all data encrypted by the user’s web browser using a local encryption key. This ensures that no-one, including Tiny, can read the user’s content. The content in the editor can still be retrieved as HTML so TinyMCE can still be used for web forms, creating and editing content in Content Management Systems (CMS) and Learning Management Systems (LMS), or any application requiring a rich-text editor.
Important: The Real-Time Collaboration (RTC) plugin is currently in Open Beta. To learn about our pre-release commitment, please read the software licence agreement related to your subscription, including:
A secure context is required for this feature. Browsers only activate their secure context when using a web server set up for HTTPS (or development servers accessed using the localhost). Modern browsers restrict many new features to secure contexts.
Some cloud services for TinyMCE require setting up JSON Web Token (JWT) authentication. JWTs are a common solution for communicating user authorization with web services. JWTs are used to communicate to TinyMCE that the user has been authorized to access Tiny Cloud services.
For general information on JWTs, visit: https://jwt.io/.
For information on using JWT authentication with the Real-Time Collaboration (RTC) plugin, see: JWT authentication.
The Real-Time Collaboration (RTC) plugin exports a presence API to enable tracking when users enter and leave the collaboration session. The only user information shared through the RTC server is the user id stored in the JWT
sub claim. Other details such as the user’s full name are resolved locally so the Tiny Cloud will never see who is actually connecting. User resolution is performed through the
rtc_user_details_provider option. Presence events can be received through either configuration callbacks or editor events.
The Real-Time Collaboration (RTC) plugin encrypts all content-specific traffic. Clients are assigned a random presence ID when they connect, which is used to transmit cursor position along with their JWT user ID. This means the TinyMCE cloud services can not read any data transferred or know who is editing. Content and user data is only available to the page running TinyMCE.
Currently, Real-Time Collaboration (RTC) only supports a subset of the features that TinyMCE provides. However, we are working on bringing over more and more of those features.
Here is a list of plugins currently supported:
- image (captioned images are not yet supported)
RTC only supports the latest desktop versions of:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Apple Safari
Older browsers will not be supported.
Mobile devices are not currently supported. This will be introduced in a later release.
Thanks for the feedback!
Can't find what you're looking for? Let us know.