跳到内容

Formatting Extender

v3.0.1

Gaurav Tiwari · 2021年6月25日 上架

Apply CSS classes to selected text or whole blocks, with class suggestions, inline badges, highlights, and theme-palette colors.

正在使用
10 以下
评分
5.0 / 5
累计下载
2,605
最近更新
2026年9月27日
2 条评价需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

Apply CSS classes to selected text with categorized suggestions supplied by the theme.
Apply CSS classes to selected text with categorized suggestions supplied by the theme.
Inline badges, highlights, custom text classes, and a paragraph styled with a block class. The theme supplies the purple text and note styles.
Inline badges, highlights, custom text classes, and a paragraph styled with a block class. The theme supplies the purple text and note styles.
Apply a CSS class to an entire paragraph from the block toolbar.
Apply a CSS class to an entire paragraph from the block toolbar.

Formatting Extender brings your site’s CSS classes into the WordPress Block Editor. Apply a class to a few words or a whole block, reuse classes suggested by your theme, and add inline badges or highlights without switching to the code editor.

What you can do

  • Style selected text or a block: choose the scope, inspect existing classes, edit them, or clear them. Repeated class names are removed automatically.
  • Find your theme’s classes: developers can supply categorized suggestions through the formatting_extender_css_classes filter. Use the arrow keys to browse suggestions and Enter to choose one.
  • Add inline badges: give short labels such as New, Updated, or Important their own background without creating another block.
  • Highlight useful details: emphasize a phrase while keeping it in the surrounding paragraph, heading, list item, or button text.
  • Choose colors: use your theme’s palette or custom text and background colors. Badge presets include Neutral, Info, Success, and Warning, with a preview, contrast feedback, and a reset control.
  • Keep existing formatting: custom class edits preserve links, bold text, and other formats. Existing badge, highlight, and custom-class content needs no migration.

There is no settings page, account requirement, or separate dashboard. The editing JavaScript loads only in the Block Editor. A small shared stylesheet displays the built-in badge and highlight styles on the frontend and inside the editor canvas.

Formatting Extender assigns class names; your theme or another plugin supplies their CSS. Built-in badges and highlights work immediately. Developers can adjust their defaults through documented CSS variables.

Development happens in the open on GitHub, where bug reports and pull requests are welcome.

Links

External Services

Formatting Extender does not contact external services or collect telemetry. Formatting and class suggestions run locally in the editor, and the plugin’s styles are served from your WordPress installation.

Plums

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

导航

说明

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

© 2026 Plums