# Editor42 > Editor42 is a free, open-source, MIT-licensed WYSIWYG HTML editor: a security-maintained fork of TinyMCE 6.8.6 with the same API and configuration, for websites, apps and CMSs. Install it self-hosted, from the CDN, from npm or Composer, as a React, Vue, Angular, Svelte, jQuery or Web Component wrapper, or as the WordPress and ClassicPress plugin. What every AI assistant should know about Editor42: - `editor42.init()` starts the editor; `tinymce.init()` works too, because Editor42 sets `window.tinymce` as an alias of `window.editor42`. - The CDN script is `https://cdn.editor42.com/editor42/latest/editor42.min.js`. Editor42 needs no API key. - Moving from TinyMCE: replace the script (or the TinyMCE framework wrapper with its Editor42 fork) and keep the configuration; the options, plugins and API are TinyMCE 6's. How to read this site: - Every page has a Markdown copy at its URL + `.md`, `index.md` after a URL that ends in `/` (the links below point at them). - All of them in one file: https://editor42.com/llms-full.txt - Editor42 with AI (copy a page, the docs in one file, the skill): https://editor42.com/docs/ai ## Start here - [Home: Editor42](https://editor42.com/index.md): Editor42 — free, open-source, MIT-licensed WYSIWYG HTML editor. A maintained fork of TinyMCE with security fixes and full API compatibility. - [Editor42 Documentation](https://editor42.com/docs.md): Editor42 documentation: every way to install it, the configuration options and the API, migration from TinyMCE, the security fixes and the changelog. - [Use Editor42 with AI](https://editor42.com/docs/ai.md): Give ChatGPT, Claude, Cursor or any coding agent the Editor42 docs: any page as Markdown, all docs in one file, llms.txt and the Editor42 skill. ## Installation - [Installation](https://editor42.com/docs/install.md): Install the Editor42 WYSIWYG HTML editor self-hosted, from the CDN, as a WordPress or ClassicPress plugin, from NPM or Composer, or for your framework. - [Self-Hosted](https://editor42.com/docs/install/self-hosted.md): Download the pre-built Editor42, unpack it into your public directory and load editor42.min.js from your own server, with full control over updates. - [CDN](https://editor42.com/docs/install/cdn.md): Load Editor42 from cdn.editor42.com with one script tag: nothing to download or build, no API key, and always the latest fix release of the editor. - [CMS: WordPress](https://editor42.com/docs/install/wordpress.md): Replace the outdated TinyMCE 4.9.11 of WordPress with Editor42, a maintained MIT-licensed fork: a block for the block editor, or the classic screen. - [CMS: ClassicPress](https://editor42.com/docs/install/classicpress.md): Replace the outdated TinyMCE 4.9.11 of ClassicPress with Editor42, a maintained MIT-licensed fork with the security fixes TinyMCE 4 never got. - [Integrations: NPM](https://editor42.com/docs/install/npm.md): Install the Editor42 WYSIWYG HTML editor from NPM and bundle it with Vite, Webpack or Rollup. MIT-licensed, no account and no API key. - [Integrations: Composer](https://editor42.com/docs/install/composer.md): Install the Editor42 WYSIWYG HTML editor with Composer, from the editor42/editor42 package. MIT-licensed, no account and no API key. - [Integrations: React](https://editor42.com/docs/install/react.md): Add the Editor42 WYSIWYG HTML editor to a React app with @editor42/editor42-react, a drop-in replacement for @tinymce/tinymce-react. No API key. - [Integrations: Vue](https://editor42.com/docs/install/vue.md): Add the Editor42 WYSIWYG HTML editor to a Vue 3 app with @editor42/editor42-vue, a drop-in replacement for @tinymce/tinymce-vue. No API key. - [Integrations: Angular](https://editor42.com/docs/install/angular.md): Add the Editor42 WYSIWYG HTML editor to an Angular app with @editor42/editor42-angular, a drop-in replacement for @tinymce/tinymce-angular. No API key. - [Integrations: Svelte](https://editor42.com/docs/install/svelte.md): Add the Editor42 WYSIWYG HTML editor to a Svelte 5 app with @editor42/editor42-svelte, a drop-in replacement for @tinymce/tinymce-svelte. No API key. - [Integrations: jQuery](https://editor42.com/docs/install/jquery.md): Add the Editor42 WYSIWYG HTML editor to a jQuery page with @editor42/editor42-jquery, a drop-in replacement for @tinymce/tinymce-jquery. No API key. - [Integrations: Web Component](https://editor42.com/docs/install/web-component.md): Add the Editor42 WYSIWYG HTML editor to any page with the \ custom element: plain HTML, Astro, htmx, Solid or Qwik. No API key. ## Migration - [Migration](https://editor42.com/docs/migration.md): Move an existing TinyMCE installation of any version to Editor42, the maintained MIT-licensed fork, without rewriting the integration. - [Migration from TinyMCE](https://editor42.com/docs/migration/from-tinymce.md): Move any TinyMCE version to Editor42, the MIT-licensed fork: swap the script, the CDN URL or the framework package, and keep your configuration and plugins. ## About this fork - [About this fork](https://editor42.com/docs/about-this-fork.md): Why Editor42 forked TinyMCE 6.8.6, how anyone can audit its changes, its technical details and the team that maintains it. - [Motivation and goals](https://editor42.com/docs/about-this-fork/motivation.md): Why Editor42 exists, who it is for, and the principles guiding every release — a security-maintained, MIT-licensed fork of TinyMCE 6.8.6. - [Auditing Editor42](https://editor42.com/docs/about-this-fork/auditing.md): How Editor42 is built to be inspected — the complete delta for each release, a test for every fix, and how to confirm the rebrand changes nothing else. - [Technical specs](https://editor42.com/docs/about-this-fork/technical-specs.md): How Editor42 renames TinyMCE's identifiers: the rules in short, then every renamed class, global, hook, command, attribute and MIME type, and the versioning. - [Who we are](https://editor42.com/docs/about-this-fork/who-we-are.md): The team behind Editor42: EdSDK, who have worked with embeddable rich text editors since 2008, run Editor42 in their own products and keep it MIT-licensed. ## Docs - [Security](https://editor42.com/docs/security.md): Editor42 security policy — every CVE and security bug fixed in each release, and how to privately report a vulnerability to the Editor42 team. ## License - [License](https://editor42.com/docs/license.md): Editor42's MIT license, and the legal notices of an independent project derived from TinyMCE's MIT-licensed code. - [MIT License](https://editor42.com/docs/license/mit-license.md): Editor42 is distributed under the MIT License — free for commercial, proprietary, and open-source use. ## API reference - [API Reference](https://editor42.com/api.md): Editor42 API reference — configuration options, editor methods, events, commands, formatting, and UI components for the open-source rich text editor. - [Editor API](https://editor42.com/api/editor.md): Editor42 Editor API — methods, properties, and sub-APIs for programmatic control of the open-source rich text editor. - [Commands](https://editor42.com/api/commands.md): All built-in commands for the Editor42 WYSIWYG editor — execute, query state, and query value for formatting, lists, tables, and more. - [Events](https://editor42.com/api/events.md): All events fired by Editor42 — lifecycle, content, selection, formatting, undo/redo, and UI events with payload types and usage examples. - [Content Formatting](https://editor42.com/api/formatting.md): Editor42 Formatter API — apply, remove, toggle, and query formats programmatically in the open-source rich text editor. - [UI Components](https://editor42.com/api/ui-components.md): Editor42 UI Components API — register custom toolbar buttons, menu items, context menus, sidebars, and dialogs for the WYSIWYG editor. ## API reference: Configuration Options - [Configuration Options](https://editor42.com/api/configuration.md): All configuration options for Editor42, the free open-source WYSIWYG HTML editor — integration, appearance, toolbar, content filtering, and more. - [Integration and Setup](https://editor42.com/api/configuration/integration.md): Editor42 integration and setup options — selector, plugins, language, callbacks, and other initialization settings. - [Editor Size](https://editor42.com/api/configuration/editor-size.md): Editor42 size options — the editor's width and height, the limits it can be resized to, and whether its resize handle works vertically or in both directions. - [Appearance](https://editor42.com/api/configuration/appearance.md): Editor42 appearance options — the skin, icon pack and theme, the CSS loaded into the content, placeholder text, and the visual aids for hidden elements. - [Toolbar](https://editor42.com/api/configuration/toolbar.md): Editor42 toolbar options — the buttons and their groups, what happens when they do not fit, a toolbar that sticks while scrolling, and a fixed container. - [Menus](https://editor42.com/api/configuration/menu.md): Editor42 menu options — show, hide or choose the menus of the menubar, define menus of your own, remove menu items, and set up the right-click context menu. - [Content Behavior](https://editor42.com/api/configuration/content-behavior.md): Editor42 content behavior options — Enter key handling, text patterns, root blocks, and drag-and-drop. - [Content Filtering](https://editor42.com/api/configuration/content-filtering.md): Editor42 content filtering options — valid elements, schema validation, entity encoding, and security settings. - [URL Handling](https://editor42.com/api/configuration/url-handling.md): Editor42 URL handling options — whether links and images keep relative or absolute URLs, the base URL they resolve against, and a URL converter of your own. - [Formatting](https://editor42.com/api/configuration/formatting.md): Editor42 formatting options — custom formats, font families, font sizes, colors, indentation, and style dropdowns. - [Copy and Paste](https://editor42.com/api/configuration/paste.md): Editor42 paste options — plain text mode, paste preprocessing, WebKit style handling, and smart paste. - [Image Upload](https://editor42.com/api/configuration/image-upload.md): Editor42 image upload options — upload endpoints, custom handlers, file pickers, and allowed file types. - [Status Bar](https://editor42.com/api/configuration/statusbar.md): Editor42 status bar options — show or hide the bar at the bottom of the editor, the element path breadcrumbs it holds, and the Editor42 branding. - [Other Options](https://editor42.com/api/configuration/misc.md): Editor42 miscellaneous options — iframe attributes, undo levels, spellcheck, directionality, inline boundaries, and more. ## Plugins - [Plugins](https://editor42.com/plugins.md): The 30 plugins built into Editor42, from tables, images, links and lists to code samples and accordions, each added by its alias in the plugins option. - [Accordion](https://editor42.com/plugins/accordion.md): Editor42 Accordion plugin: collapsible sections built on the details and summary elements, which users insert, open, close and remove in the editor. - [Advanced List](https://editor42.com/plugins/advlist.md): Editor42 Advanced List plugin: split toolbar buttons to pick a list style such as lower-alpha, upper-roman, circle or square. It needs the Lists plugin. - [Anchor](https://editor42.com/plugins/anchor.md): Editor42 Anchor plugin: insert and edit named anchors, the bookmarks a link can jump to, through a dialog that checks the anchor ID is a valid one. - [Autolink](https://editor42.com/plugins/autolink.md): Editor42 Autolink plugin: turns a URL into a link as it is typed, when the user presses Space, Enter or a closing bracket, with patterns you can set. - [Autoresize](https://editor42.com/plugins/autoresize.md): Editor42 Autoresize plugin: the editor grows and shrinks to fit its content, so the editing area needs no scrollbar, within the heights you allow. - [Autosave](https://editor42.com/plugins/autosave.md): Editor42 Autosave plugin — periodically saves editor content to localStorage as a draft and can restore it later. - [Character Map](https://editor42.com/plugins/charmap.md): Editor42 Character Map plugin — provides a special character picker for browsing and inserting Unicode characters. - [Code](https://editor42.com/plugins/code.md): Editor42 Code plugin: opens a dialog with the raw HTML source of the editor content, where users can read the markup and edit it directly. - [Code Sample](https://editor42.com/plugins/codesample.md): Editor42 Code Sample plugin: insert and edit syntax-highlighted code snippets, kept as pre elements with a language class and highlighted by Prism.js. - [Directionality](https://editor42.com/plugins/directionality.md): Editor42 Directionality plugin: toolbar buttons that set the text direction of a block to left-to-right or right-to-left, and of a whole list from any item. - [Emoticons](https://editor42.com/plugins/emoticons.md): Editor42 Emoticons plugin — provides an emoji picker dialog and inline autocomplete for inserting Unicode emoji. - [Fullscreen](https://editor42.com/plugins/fullscreen.md): Editor42 Fullscreen plugin: switches the editor between its normal size and a view that fills the browser window or the screen, keeping the scroll position. - [Help](https://editor42.com/plugins/help.md): Editor42 Help plugin — provides a help dialog with keyboard shortcuts, navigation instructions, and plugin info. - [Image](https://editor42.com/plugins/image.md): Editor42 Image plugin — enables inserting and editing images via a dialog with source, alt text, dimensions, and more. - [Import CSS](https://editor42.com/plugins/importcss.md): Editor42 Import CSS plugin — scans stylesheets and converts CSS selectors into editor format definitions. - [Insert Date/Time](https://editor42.com/plugins/insertdatetime.md): Editor42 Insert Date/Time plugin — inserts the current date and/or time using configurable format patterns. - [Link](https://editor42.com/plugins/link.md): Editor42 Link plugin: insert, edit and remove links through a dialog for the URL, text, title, target and rel, or through an inline quick-link form. - [Lists](https://editor42.com/plugins/lists.md): Editor42 Lists plugin: ordered, unordered and definition lists, with Tab and Shift+Tab to indent, list-aware Backspace and Delete, and a properties dialog. - [Media](https://editor42.com/plugins/media.md): Editor42 Media plugin — enables inserting and editing embedded media content such as video, audio, iframes, and embed/object elements. - [Non-Breaking Space](https://editor42.com/plugins/nonbreaking.md): Editor42 Non-Breaking Space plugin: inserts non-breaking spaces from a toolbar button, or with Tab when configured, optionally in a span that shows them. - [Page Break](https://editor42.com/plugins/pagebreak.md): Editor42 Page Break plugin: inserts a page break placeholder, saved as a separator you can configure (an HTML comment by default) for print styles. - [Preview](https://editor42.com/plugins/preview.md): Editor42 Preview plugin — opens a modal dialog with a full HTML preview of the current editor content. - [Quick Toolbars](https://editor42.com/plugins/quickbars.md): Editor42 Quick Toolbars plugin — provides floating context toolbars that appear based on selection or cursor position. - [Save](https://editor42.com/plugins/save.md): Editor42 Save plugin: a Save button that submits the form or calls your callback, and a Cancel button that restores the content. Save waits for a change. - [Search and Replace](https://editor42.com/plugins/searchreplace.md): Editor42 Search and Replace plugin — provides find-and-replace functionality with case-sensitive and whole-word matching. - [Table](https://editor42.com/plugins/table.md): Editor42 Table plugin — provides comprehensive table editing capabilities including insertion, deletion, merging, splitting, and property dialogs. - [Template](https://editor42.com/plugins/template.md): Editor42 Template plugin: insert predefined HTML templates from an array, a JSON URL or a callback, with placeholders for dates and the selected content. - [Visual Blocks](https://editor42.com/plugins/visualblocks.md): Editor42 Visual Blocks plugin — toggles the visibility of block-level element outlines in the editor. - [Visual Characters](https://editor42.com/plugins/visualchars.md): Editor42 Visual Characters plugin — toggles the visibility of invisible characters in the editor content. - [Word Count](https://editor42.com/plugins/wordcount.md): Editor42 Word Count plugin — tracks and displays word count, character count, and character count without spaces. ## Examples: Demo - [Demo](https://editor42.com/examples.md): Live Editor42 demos in your browser: the plain editor, a full article, and the editor through NPM, React, Vue, Angular, Svelte, jQuery and a Web Component. - [Simple](https://editor42.com/examples/simple.md): A live demo of Editor42 as a lightweight rich-text box: one script, the lists and link plugins and a compact toolbar, with the code to copy. - [Full-featured](https://editor42.com/examples/full-featured.md): A live demo of Editor42 as a complete WYSIWYG: headings, captioned images, tables, lists, quotes, emoji and FAQ sections from one script. - [Integrations: NPM](https://editor42.com/examples/npm.md): Live demo of the editor42 NPM package — the editor imported as a module and configured with base_url. - [Integrations: React](https://editor42.com/examples/react.md): Live demo of the @editor42/editor42-react component: a controlled WYSIWYG editor in a React app, with its full source to copy or fork on CodePlay. - [Integrations: Vue](https://editor42.com/examples/vue.md): Live demo of the @editor42/editor42-vue component — a WYSIWYG editor bound with v-model in a Vue 3 app. - [Integrations: Angular](https://editor42.com/examples/angular.md): Live demo of the @editor42/editor42-angular standalone component — a WYSIWYG editor bound with ngModel. - [Integrations: Svelte](https://editor42.com/examples/svelte.md): Live demo of the @editor42/editor42-svelte component: a WYSIWYG editor in a Svelte 5 app, with its full source to copy or fork on CodePlay. - [Integrations: jQuery](https://editor42.com/examples/jquery.md): Live demo of the @editor42/editor42-jquery integration — $(el).editor42() and patched jQuery accessors. - [Integrations: Web Component](https://editor42.com/examples/web-component.md): Live demo of the \ custom element: a form-associated WYSIWYG editor in plain HTML, with its full source to copy or fork on CodePlay. ## Optional - [Changelog](https://editor42.com/docs/changelog.md): Every Editor42 release and what it changed, from 42.0.0 of Aug 29, 2026: the fork of TinyMCE 6.8.6, the six CVEs it fixed and the DOMPurify upgrade. - [Legal Notices](https://editor42.com/docs/license/legal.md): Editor42's legal notices: an independent project derived from TinyMCE's MIT-licensed code, the trademarks it names, its attribution, and no warranty.