People searching for a CKEditor alternative usually fall into one of two groups. Some are still on CKEditor 4, which reached end of life in 2023. Others run CKEditor 5 and have found that the features they need sit in higher plans and paid add-ons. This article covers both cases: what each costs, how your stored HTML carries over, and what you have to move by hand. For the line-by-line config mapping, use the CKEditor migration guide.
Why teams look for a CKEditor alternative
CKEditor 4 no longer gets free security fixes
CKEditor 4 reached end of life on 30 June 2023. Since then, security fixes have come only through CKEditor’s paid Extended Support Model, which runs until December 2029. A rich text editor handles untrusted HTML, so running it without security updates is a real risk. That leaves CKEditor 4 teams with three choices: pay for extended support, rewrite for CKEditor 5, or move to another editor. Moving to CKEditor 5 is a rewrite in any case, because its API and data model are entirely different from version 4.
CKEditor 5 splits features across plans and add-ons
- The free GPL licence covers the open-source features only. The
'GPL'licence key works only when you host the editor yourself, and premium features need a commercial licence. - Cloud plans count editor loads.The free plan includes 1,000 loads a month, then $60 per 1,000, and shows a “Powered by CKEditor” watermark. Essential includes 5,000 loads, then $45 per 1,000. Professional includes 20,000, then $30 per 1,000.
- Collaboration costs extra. Comments, track changes, revision history and real-time editing are a Collaboration add-on, available only on Professional, at $249 a month. CKEditor AI is another add-on, from $133 a month.
RichTextEditor includes comments, track changes, revision history and the AI toolkit in every licence. The AI toolkit works with your own AI provider key. Licences are not metered by editor loads.
What three years costs
| Option | What you get | 3-year cost |
|---|---|---|
| CKEditor 5 open source | GPL, self-hosted, no premium features | $0 |
| CKEditor 5 Essential | $144/month, 5,000 loads included | $5,184 + overage |
| CKEditor 5 Professional | $289/month, 20,000 loads included | $10,404 + overage |
| Professional + Collaboration | $289 + $249/month | $19,368 + overage |
| Professional + Collaboration + AI | $289 + $249 + $133/month | $24,156 + overage |
| RichTextEditor Domain licence | Comments, track changes, revision history and AI toolkit included; not load-metered | $129 once* |
For TinyMCE and Froala on the same terms, see RichTextEditor vs TinyMCE vs CKEditor vs Froala.
When to stay on CKEditor
If your project is GPL-compatible and CKEditor 5’s open-source features cover what you need, it costs nothing, and moving gains you little. The same goes if you have already built a large integration on CKEditor’s collaboration services and the subscription fits your budget. RichTextEditor has no free production licence today. You can evaluate the full editor for free, but production use needs a licence.
How your stored HTML carries over
From CKEditor 4
CKEditor 4 stores ordinary HTML, which RichTextEditor loads as it is. Expect years of inline styles from pasted Word documents and web pages. Count what is actually in your documents before you switch; the tag-counting script in moving off Summernote works the same way here.
From CKEditor 5
CKEditor 5 also stores HTML, but it wraps some content in its own markup. Check your documents for these patterns, and load samples of each into RichTextEditor before you switch:
- Images and tables in figures. Block images are saved as
<figure class="image">, often with a<figcaption>. Tables are saved as<figure class="table">. Image alignment uses classes such asimage-style-side. - Media embeds. By default, embedded videos are saved as
<oembed url="…">elements. They display nothing until your pages convert them into players, so decide whether to convert them into iframes during the move. - Code blocks, to-do lists and mentions carry CKEditor classes, such as
language-*on code,todo-liston checklists andmentionon mentions. - Internal attributes.
data-ck-*anddata-list-item-idattributes mean nothing outside CKEditor. The migration package removes them when it converts content. - Display pages.Pages that show saved content often load CKEditor’s content stylesheet and wrap the content in a
ck-contentclass. Keep that stylesheet until no old documents depend on it.
Map the config automatically, then review it
The npm package includes a migration module. For CKEditor 5, migrateConfig maps toolbar items, the placeholder and the language, and lists every toolbar item it could not map instead of dropping it silently. Items such as heading, codeBlock and sourceEditing usually appear in that list. createMigrationReport checks a config and a sample document together and tells you whether anything blocks the switch.
import { migrateConfig, createMigrationReport } from
"@richscripts/richtexteditor/migration";
const plan = migrateConfig("ckeditor5", legacyConfig);
console.table(plan.unmapped); // toolbar items to handle by hand
console.table(plan.warnings);
const report = createMigrationReport("ckeditor5", {
config: legacyConfig,
content: editor.getData(),
});
if (!report.readyForCutover) console.table(report.blockers);The executable CKEditor guide covers the full API, including reading content from a live editor. For CKEditor 4, getData() also returns HTML, so content transfer works the same way. Map its toolbar by hand.
What you move by hand
Here is a typical CKEditor 5 setup next to its RichTextEditor equivalent. In CKEditor 5 every feature is a plugin you import and list. In RichTextEditor one script includes all features, and you choose them in the toolbar.
// Before: CKEditor 5
import { ClassicEditor, Essentials, Paragraph, Bold, Italic, List, Link,
Image, ImageInsert, ImageUpload, SimpleUploadAdapter, Table } from "ckeditor5";
ClassicEditor.create(document.querySelector("#editor"), {
licenseKey: "GPL",
plugins: [Essentials, Paragraph, Bold, Italic, List, Link,
Image, ImageInsert, ImageUpload, SimpleUploadAdapter, Table],
toolbar: ["undo", "redo", "|", "bold", "italic", "|",
"bulletedList", "numberedList", "|", "link", "insertImage", "insertTable"],
simpleUpload: { uploadUrl: "/upload" },
placeholder: "Write here",
}).then((editor) => {
editor.model.document.on("change:data", () => save(editor.getData()));
});
// After: RichTextEditor
const editor = new RichTextEditor("#editor", {
toolbar: "custom",
toolbar_custom:
"{undo,redo}|{bold,italic}|{insertunorderedlist,insertorderedlist}"
+ "|{insertlink,insertimage,inserttable}",
placeholder: "Write here",
file_upload_handler: async (file, callback) => {
const body = new FormData();
body.append("upload", file);
const res = await fetch("/upload", { method: "POST", body });
callback((await res.json()).url);
},
});
editor.attachEvent("change", () => save(editor.getHTMLCode()));- Uploads. CKEditor’s simple upload adapter expects a JSON response with a
url. In RichTextEditor you upload infile_upload_handlerand pass that URL to the callback, so the endpoint can usually stay as it is. - API calls.
getData()andsetData()becomegetHTMLCode()andsetHTMLCode(). Read-only mode usessetReadOnly(true), andeditor.destroy()keeps its name. RichTextEditor’s constructor is synchronous, so you can attach events straight away, without waiting for a promise. - Comments and suggestions. CKEditor stores comment threads and suggestions through your adapter or its cloud services, not in the HTML, and saved HTML can contain marker elements for their positions. Export the threads, and decide whether to import, archive or resolve them before the switch.
- Real-time collaboration.CKEditor’s real-time editing runs on its cloud services. In RichTextEditor you connect
editor.collab.attach()to a Yjs server you host, or to RichTextEditor Cloud, which includes one collaboration room free and more on paid plans from $29 a month. - AI. Replace CKEditor AI with
editor.aiToolkit.setResolver()pointed at your own server, which calls the AI provider you choose. Keep the provider key on the server. - Custom plugins.Plugins written against CKEditor’s model and converters have to be rebuilt. The feature equivalence table shows what is already built in.
Roll out in stages
- Run
createMigrationReporton your config and a sample of real documents, and fix every blocker. - Load documents with figures, embeds, code blocks and to-do lists into RichTextEditor on a staging page, and compare the saved HTML, not only how it looks.
- Test uploads, pasting from Word, keyboard shortcuts and mobile editing under your production content security policy.
- Switch one form or one user group first, and keep the original HTML until the new editor has run cleanly for a month.
Migration checklist
- List the CKEditor plans and add-ons you pay for, and check that each feature is built into RichTextEditor.
- Run
migrateConfigand handle every unmapped toolbar item. - Check stored documents for figures,
oembedelements, to-do lists and mention markup. - Move the upload endpoint into
file_upload_handler. - Replace
getData/setDataandchange:datawithgetHTMLCode/setHTMLCodeandattachEvent. - Export comment threads and suggestions, and plan the real-time server.
- Keep the original HTML and CKEditor’s content stylesheet until the switch has run cleanly for a month.
* The $129 Domain licence includes one year of updates. Staying current for three years costs $322.50 in total ($96.75 a year to renew within 30 days of expiry). AI features use your own provider key, which your provider bills separately. Hosted real-time collaboration on RichTextEditor Cloud is billed separately; you can also host the collaboration server yourself. CKEditor figures are list prices on annual billing and exclude load overage and taxes. AI add-on tiers above $133 a month cost more. Check ckeditor.com/pricing before you decide.
Related reading
Feature by feature: RichTextEditor vs CKEditor 5. Moving from TinyMCE instead: migrating from TinyMCE. Every licence tier is on the pricing page.
RichTextEditor is a perpetual-licence JavaScript editor — one purchase, self-hosted, no metered editor loads. Download the evaluation or see how it compares.