KDA Custom Editor Buttons
KDA Custom Editor Buttons lets you define your own Classic Editor controls: Wrap selection in any tag / CSS class Insert HTML templates (e.g. definition lists) Add a class to the current block (optionally with a tag) Open a code snippet dialog (language, line numbers, edit in place) Show each contro
KDA Custom Editor Buttons lets you define your own Classic Editor controls:
- Wrap selection in any tag / CSS class
- Insert HTML templates (e.g. definition lists)
- Add a class to the current block (optionally with a tag)
- Open a code snippet dialog (language, line numbers, edit in place)
- Show each control on the toolbar, in Formats, or both
- Limit buttons to selected post types (including custom types such as articles )
Front-end CSS still belongs to your theme if you want a custom look; the plugin ships a neutral snippet window, Copy, line numbers, and token colors. Prism.js and Highlight.js are bundled, so nothing is loaded from a CDN. The admin UI is English and can be translated through translate.wordpress.org.
- 01Upload the plugin folder to /wp-content/plugins/kda-custom-editor-buttons
- 02Activate the plugin through the Plugins menu
- 03Go to Settings → KDA Editor Buttons
- 04Use Classic Editor when editing content
Frequently asked questions.
Does it work with the block editor (Gutenberg)?
Version 1 targets Classic Editor / TinyMCE. A soft admin notice appears if the block editor is the default.
Will my theme styles apply?
Yes on the front end, if the theme defines the classes you insert. The plugin also ships a default snippet window and token colors (light/dark). You can replace those stylesheets with the kda_ceb_snippet_css and kda_ceb_highlight_css filters.