內容簡介
KDA Custom Editor Buttons 讓使用者可以自訂 Classic Editor 的控制項,提供靈活的編輯功能,提升內容創作的效率與便利性。
【主要功能】
• 自訂標籤與 CSS 類別包裝選取內容
• 插入 HTML 模板(如定義列表)
• 為當前區塊新增類別(可選擇標籤)
• 開啟程式碼片段對話框(語言、行號、即時編輯)
• 控制項可顯示於工具列或格式選單
• 限制按鈕至特定文章類型(包含自訂類型)
外掛標籤
開發者團隊
原文外掛簡介
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.
