
Description
tinymce-react is the official React component for TinyMCE, the rich text editor. It wraps TinyMCE as a React Editor component and supports both controlled and uncontrolled use. By default the component loads TinyMCE from the Tiny Cloud CDN, which needs a Tiny Cloud API key that you get by signing up for a Tiny Cloud account and pass in the apiKey prop. You can instead self-host TinyMCE from its npm package, which takes a few extra steps covered in the TinyMCE documentation. Installation is done with npm install @tinymce/tinymce-react. The repository links a React Storybook for quick demos, a technical reference for the React component, and the general TinyMCE documentation. Issues and feature requests for the React wrapper go to this repository, while issues about TinyMCE itself go to the TinyMCE repository. The wrapper is licensed under MIT. The TinyMCE core editor it loads can be used under either GPL-2.0-or-later or a commercial license, depending on the use case, and the README points to the tinymce package for those details. It suits React developers who need an embeddable rich text editor with formatting, and who want to decide between the cloud-hosted and self-hosted setup.…
Highlights
- Official React wrapper for TinyMCE
- Controlled and uncontrolled usage
- Cloud CDN loading with an API key
- Self-hosting from the npm package
- React Storybook for demos
Ratings & Reviews
No ratings yet
Be the first to rate @tinymce/tinymce-react.
People also visit

react-contenteditable
React component representing an element with editable contents
@tinymce/tinymce-react FAQ
What does tinymce-react do?
It embeds the TinyMCE rich text editor in a React app as an Editor component.
Do I need an API key?
If you load TinyMCE from the Tiny Cloud CDN, yes. You get a key by signing up for a Tiny Cloud account. Self-hosting from npm is the alternative.
How do I install it?
Run npm install @tinymce/tinymce-react in your React project.
What license is it under?
The React wrapper is MIT licensed. The TinyMCE core is GPL-2.0-or-later or commercial, depending on use.
What are the best @tinymce/tinymce-react alternatives?
Popular alternatives to @tinymce/tinymce-react include react-tinymce, @ckeditor/ckeditor5-react and react-contenteditable. See all @tinymce/tinymce-react alternatives















