TinyMCE alternative
A TinyMCE alternative for React, with no API key
Post Canvas is an MIT-licensed React rich text editor built on Tiptap. Install it from npm and host it with your app: no API key, licence key or cloud account. Photo galleries, video embeds and a server-side sanitizer are built in.
npm install post-canvas- Licence
- MIT
- API key
- None
- React
- 18.2 and 19
- Price
- Free
Who it's for
React teams moving off TinyMCE
@tinymce/tinymce-react, and the editor holds blog posts, articles, announcements or user posts.- You load TinyMCE from Tiny Cloud and would rather not tie an API key and an editor-load limit to your app.
- You self-host TinyMCE and want MIT terms instead of the GPL or a commercial licence.
- Your posts are text, photos, video and links, not documents that need tracked changes.
- You render saved posts on your server and want the sanitizer to match the editor.
Compare
Post Canvas and TinyMCE, side by side
| Feature | Post Canvas | TinyMCE 8 |
|---|---|---|
| Licence | MIT[1] | GPL-2.0-or-later, or a commercial licence[2] |
| API key or licence key | None. One npm package you host yourself[1] | An API key to load from Tiny Cloud; a license_key ("gpl" or a paid key) when self-hosted[3] |
| Price | Free[1] | Cloud: free up to 1,000 editor loads a month, paid plans from $79 a month billed annually[4] |
| React | A React component, React 18.2 or 19[5] | The @tinymce/tinymce-react wrapper[6] |
| Saved format | Tiptap JSON, rendered to HTML, React, Markdown or text[7] | An HTML string[8] |
| Photo galleries | Carousel, grid, masonry and collage, with upload progress[9] | Image and Image Editing plugins; no gallery plugin listed[11] |
| Sanitizer for saved content | sanitizeDocument() on your server, the same schema as the editor[10] | Bring your own for HTML that clients send[8] |
| Comments, revision history, suggested edits | Not yet[12] | Premium plugins[11] |
| Vue and Angular | Not yet[12] | Official integrations[13][14] |
Sources
- [1]Post Canvas licence (MIT)
- [2]TinyMCE licence: GPL-2.0-or-later, or commercial terms
- [3]TinyMCE docs: API key and licence key
- [4]TinyMCE pricing
- [5]Post Canvas package.json: React 18.2 or 19
- [6]@tinymce/tinymce-react on npm
- [7]Post Canvas docs: document JSON
- [8]TinyMCE API: getContent() returns an HTML string
- [9]Post Canvas docs: image galleries
- [10]Post Canvas docs: security model
- [11]TinyMCE premium plugins
- [12]Post Canvas roadmap: not available yet
- [13]TinyMCE docs: Vue integration
- [14]TinyMCE docs: Angular integration
Live demo
Paste TinyMCE HTML, get a Post Canvas post
Live editorEdit the TinyMCE HTML or paste your own, then convert it.
Left out by fromHTML()
Converting the sample.
The same post in Post Canvas
Migrate
Move your saved posts over
fromHTML(), check what it left out, and save the JSON. The migration guide has a full batch script and the list of what is kept and dropped.// Before: TinyMCE from Tiny Cloud
import { Editor } from '@tinymce/tinymce-react';
<Editor apiKey="your-api-key" initialValue={html} onEditorChange={setHtml} />
// After: Post Canvas, no key
import { PostCanvas } from 'post-canvas';
<PostCanvas preset="article" defaultContent={doc} onChange={({ json }) => setDoc(json)} />import { PostCanvas } from 'post-canvas';
import { fromHTML } from 'post-canvas/render';
import 'post-canvas/styles.css';
// The HTML TinyMCE saved, converted in the browser.
export function EditPost({ html }: { html: string }) {
return <PostCanvas preset="article" defaultContent={fromHTML(html)} />;
}// scripts/migrate.ts: run once over every saved post
import { Window } from 'happy-dom';
import { fromHTML, resolveFeatures } from 'post-canvas/server';
const window = new Window();
const features = resolveFeatures('article');
for (const post of await db.posts.all()) {
const doc = fromHTML(post.html, {
window,
features,
onRemoved: (removed) => {
if (removed.length) console.warn(post.id, removed.map((r) => r.type ?? r.reason));
},
});
await db.posts.update(post.id, { content: doc }); // keep post.html until you have checked
}Built in
What you get without a plugin




Honest gaps
What TinyMCE does that Post Canvas doesn't (yet)
Not yetComments, revision history and suggested edits
TinyMCE sells these as premium plugins. Post Canvas has none of them yet; they are on the roadmap.
Not yetVue, Angular and other wrappers
Post Canvas ships a React component and a plain HTML build. There is no Vue or Angular package.
Not yetRight-to-left languages
The interface and the content are left to right only for now.
Not yetFree-form fonts and colours
Post Canvas has a nine-colour palette and no font family or size menus, so posts stay consistent. TinyMCE lets writers pick any of them.
FAQ
Questions
Is there a free TinyMCE alternative for React?
Post Canvas is one. It is MIT licensed, free for commercial use, and installs from npm as post-canvas. You host it with your app, so there is no editor-load limit and no API key.
Do I need an API key or licence key to use Post Canvas?
No. Nothing is loaded from a cloud and nothing checks a key. TinyMCE needs an API key when it loads from Tiny Cloud, and since TinyMCE 7 a self-hosted copy needs a license_key, which can be "gpl" if you accept the GPL.
Can I import my existing TinyMCE content?
Yes. fromHTML() reads TinyMCE HTML into a Post Canvas document: headings, alignment, formatting, links, lists, tables, images with http or https addresses and YouTube or Vimeo iframes. Run it once per post and save the JSON.
What is lost when I move from TinyMCE?
Text and background colours, font families, font sizes, line heights, indentation, and table widths and borders. Images with relative or data: addresses are dropped, so make them absolute or upload them first. Check a sample of posts before you switch.
Does Post Canvas have TinyMCE features such as comments and revision history?
Not yet. Comments, real-time collaboration and track changes are on the Post Canvas roadmap. If your team depends on them today, TinyMCE or CKEditor is the better fit.
Compare more
Other comparisons and guides
- React Quill alternativeFor apps on react-quill or Draft.js moving to current React.
- Tiptap vs LexicalTwo editor frameworks, compared from their own docs.
- Tiptap image galleriesUpload, resize and four gallery layouts on Tiptap.
- CKEditor alternativeLicence keys, premium features and an HTML import.
- Froala alternativeA free editor for posts with photos and video.
- Migration guideConvert saved HTML with fromHTML, and what is kept and dropped.
Try it with your own TinyMCE content
Paste a post into the demo above, or install the package and convert one real post.
npm install post-canvas