KDA Custom Editor Buttons
v1.7.0deniskey · 2026年8月26日 上架
Custom TinyMCE toolbar buttons and Formats for the Classic Editor — wrap, insert templates, add classes, or open a code snippet dialog.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 460
- 最近更新
- 2026年9月24日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+
贡献者
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.