plugin-icon

JuZ Rich Text Extender

投稿者: Ju'Z[ed]·
Extends the Gutenberg block editor toolbar with custom inline format buttons, with smart nesting validation based on HTML spec rules.
バージョン
1.0.0
有効インストール数
10
最終更新日時
Mar 19, 2026
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. <a> inside <a>). 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.

無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。