| 开发者 | editor42 |
|---|---|
| 更新时间 | 2026年11月30日 20:10 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
Only if you ask it to. By default the block editor stays and the plugin adds an Editor42 block to it. Choose Editor42 as the default editor in Settings > Editor42 and the block editor is disabled for posts, pages and custom post types, with the classic editing screen in its place. Switch back or deactivate and the block editor returns.
No. Choose Editor42 as the main editor on Settings > Editor42 and the block editor is disabled for posts, pages and custom post types, with the classic editing screen in its place: that is what the Classic Editor plugin does, so you can deactivate it. Kept active with its default settings, the classic screen it brings back runs Editor42 too. If it lets users switch editors, Editor42 as the main editor opens every post on the classic screen, and with Only a Gutenberg block chosen its classic screen keeps the stock TinyMCE.
A free-form rich text block edited with the bundled Editor42 engine, with the same toolbar you configure for the classic screen. Its content is stored as plain HTML, like the classic editor stored it, so nothing proprietary ends up in your posts. Its text is drawn with your theme's styles, the way the site draws it and the blocks around it are drawn (the classic screen does the same with a theme that has a theme.json). It is a regular block of the current block API, so it edits in place in the Site Editor, the pattern editor and the device previews too, and the block editor's own shortcuts (Ctrl+S to save, the list view, the settings sidebar, removing or moving the block) work from inside its text. Strikethrough, inline code and removing a link answer to the same keys as in the block editor: Shift+Alt+D, Shift+Alt+X and Ctrl+Shift+K.
The Classic block edits with the TinyMCE 4.9.11 inside WordPress, in a popup since WordPress 7.0. The Editor42 block edits in place with the bundled engine and the toolbar you configure: tables, colors, find and replace, the source code view, fullscreen. You can turn a Classic block into an Editor42 block and back at any time.
It is the same kind of editor with the same conventions, but a newer engine. Editor42 is a maintained, MIT licensed fork of TinyMCE with security fixes, bundled inside the plugin. Your content round-trips exactly as it did with the classic editor.
Only where it holds scripts or style blocks: the editor drops those when a post is edited in Visual mode. Everything else is stored as standard post_content HTML in the classic form. Posts written before the switch open and save without other changes, and posts written with Editor42 stay valid if you ever deactivate it. A post made of Editor42 blocks keeps rendering on your site without the plugin; in the block editor those blocks then show as blocks WordPress does not recognize, and one click keeps them as HTML.
Buttons other plugins add through the mce_buttons and mce_external_plugins filters are written for the TinyMCE inside WordPress core. Editor42 is a newer engine and does not load them. A plugin can offer its button to Editor42 through two filters: editor42_toolbar_buttons adds the button to the list the configurator offers (its name, label and the engine plugin it needs), and editor42_external_plugins names that engine plugin's script URL. The button then appears in the toolbar configurator like any other, and its script loads wherever the toolbar shows it. The README inside the plugin has an example.
Yes, both can stay active. Advanced Editor Tools sets up the TinyMCE inside WordPress core, so its toolbar settings apply where that TinyMCE still runs, such as the Classic block, and not where Editor42 runs. Editor42 brings its own: tables, text and background colors, find and replace, the source code view and a toolbar you arrange yourself on Settings > Editor42.
No. Everything the plugin uses ships inside the plugin and loads from your own site; there are no accounts and no tracking. The only requests that leave your site are the ones the classic editor made too: the preview of an embedded video or tweet is fetched from its provider. The status bar of the editor in wp-admin carries a link to editor42.com; an editor on the front end of your site shows none.
The plugin's own PHP, JavaScript and CSS ship unminified. The bundled Editor42 engine (version 42.0.0) ships both ways: next to every .min.js and .min.css file in assets/editor42/ sits the readable file it was made from (editor42.js, plugins//plugin.js, themes/silver/theme.js, skins//*.css and so on), with its long data lines (the emoji list, Unicode tables, SVG icons) wrapped for reading. The engine's source code is at https://github.com/editor42com/editor42, branch editor42, at its 42.0.0 release commit; the built files are at https://github.com/editor42com/editor42-dist, tag 42.0.0. To build it yourself, clone the source, check out the editor42 branch and run yarn, then yarn build; the output lands in modules/editor42/js/editor42/. assets/editor42/ is that output as published in editor42-dist, without the README, package.json, composer.json and typings, the codesample plugin, the emoji image set, and the script copies of the skins' CSS (the editor loads the CSS files themselves). The Unicode tables of the word count and the search come from modules/polaris/src/main/ts/editor42/polaris/words/UnicodeData.ts in the source.
Yes. Settings > Editor42 has two built-in presets (Full-featured and Simple) and a drag and drop configurator for your own layout, lines included; while you drag, the button shows where it will land. The menubar is a separate switch. The configurator is fully keyboard accessible.
Yes, ClassicPress 2.x is supported and tested. There is no block editor there, so the block and the Default editor choice do not apply: Editor42 replaces the bundled classic editor, and deactivating the plugin brings the stock TinyMCE back if you ever want it.