[WordPress] 外掛分享: JuZ Rich Text Extender

首頁外掛目錄 › JuZ Rich Text Extender
WordPress 外掛 JuZ Rich Text Extender 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.1+ PHP 7.0+ v1.0.0 上架:2026-03-18

內容簡介

JuZ Rich Text Extender 讓開發者能在 Gutenberg 編輯器工具列中註冊自訂的內聯格式按鈕,並為選取的文字應用特定的 HTML 內聯標籤和可選的 CSS 類別,提升編輯靈活性與效率。

【主要功能】
• 註冊自訂內聯格式(標籤 + CSS 類別)
• 內建嵌套驗證系統,避免無效 HTML 嵌套
• 按鈕在不允許嵌套時自動禁用
• 提供全面的內聯標籤規則集
• 透過 WordPress 過濾器進行格式和標籤規則擴展

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「JuZ Rich Text Extender」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

JuZ Rich Text Extender allows developers to register custom inline format buttons in the Gutenberg (block editor) toolbar. Each button applies a specific HTML inline tag with an optional CSS class to the selected text.
The plugin includes a built-in nesting validation system: buttons are automatically disabled when their use would produce invalid HTML nesting (e.g. inside ). When a format is already active, its button remains enabled so it can always be toggled off.
Key features:

Register custom inline formats (tag + CSS class) via a WordPress filter
tagName defaults to span, which is strongly recommended for compatibility
Smart nesting validation against the full active tag stack (for non-span tags)
Buttons are visually disabled when nesting is not allowed
Exhaustive inline tag ruleset (span, a, strong, em, mark, code, u, s, i, b, q, cite, abbr, small, sub, sup)
Inline tag rules are filterable for full customisation by themes or other plugins

For developers:
Formats and inline tag rules are both exposed via WordPress filters, making the plugin fully extensible without modifying core files.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon