Migration
From TinyMCE
Editor42 keeps TinyMCE's API, configuration options and plugins, so moving a TinyMCE integration to it is a swap rather than a rewrite. It works from any TinyMCE version, and the steps are the same whichever release you are on:
- Self-hosted: replace the TinyMCE directory with the Editor42 distribution and point the script tag at
editor42.min.js. - CDN: load
https://cdn.editor42.com/editor42/latest/editor42.min.jsin place of the Tiny Cloud URL. Editor42 needs no API key. - Framework components: the TinyMCE wrappers for React, Vue, Angular, Svelte, jQuery and the Web Component each have an Editor42 fork with the same props, events and component names.
tinymce.init() keeps working, because Editor42 sets window.tinymce as an alias of window.editor42. What can need an edit is code that reaches into the editor by its brand-bearing names, such as the .tox classes of its UI, the mce commands and the x-tinymce/html clipboard type. The guide lists every one of them.
From CKEditor 4
CKEditor 4 reached its end of life (EOL) on June 30, 2023, and 4.22.1 is its last open-source release. Editor42 is a different editor, so moving a CKEditor 4 integration to it is a port: the guide maps the script, the configuration options, the toolbar buttons, uploads, the API and your plugins to Editor42's, and shows what to check in the content CKEditor 4 saved.