Important changes to Tiny Cloud pricing > Find out more

RTC Introduction

Introduction of what RTC is and its capabilities

Contribute to this page

Introduction

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 RTC plugin is currently in Open Beta. To learn about our pre-release commitment, please read our software licence agreement.

JSON Web Token based authentication

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 RTC plugin, see: JWT authentication.

Presence API

The 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.

End-to-end encryption

The 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.

RTC enabled features

Currently, 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:

Settings that are not available when RTC is enabled

Browser support

RTC only supports the latest desktop versions of:

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Apple Safari

Older browsers will not be supported.

Mobile support

Mobile devices are not currently supported. This will be introduced in a later release.

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.