跳到内容

JuZ Rich Text Extender

v1.1.1

Ju'Z[ed] · 2026年3月19日 上架

Extends the Gutenberg block editor toolbar with custom inline format buttons, with smart nesting validation based on HTML spec rules.

正在使用
10+
评分
暂无
累计下载
685
最近更新
2026年10月21日
需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

Custom inline format buttons added to the Gutenberg toolbar.
Custom inline format buttons added to the Gutenberg toolbar.

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

Live demo:
See it in action on playground.juzed.dev, or try it in the editor with WordPress Playground, nothing to install.

For developers:

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums