Title: Formatting Extender
Author: Gaurav Tiwari
Published: <strong>2021 年 6 月 25 日</strong>
Last modified: 2026 年 3 月 9 日

---

搜索插件

![](https://ps.w.org/formatting-extender/assets/banner-772x250.png?rev=3477768)

![](https://ps.w.org/formatting-extender/assets/icon-256x256.png?rev=3477768)

# Formatting Extender

 作者：[Gaurav Tiwari](https://profiles.wordpress.org/gauravtiwari/)

[下载](https://downloads.wordpress.org/plugin/formatting-extender.3.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/formatting-extender/#description)
 * [评价](https://cn.wordpress.org/plugins/formatting-extender/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/formatting-extender/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/formatting-extender/#developers)

 [支持](https://wordpress.org/support/plugin/formatting-extender/)

## 描述

Formatting Extender adds new inline formatting options to the WordPress Block Editor
toolbar. Select any text and apply badge or highlight formatting with one click.

**Features:**

 * **Badge** — Wraps text in an uppercase badge with colored background
 * **Highlight** — Adds a yellow highlight behind text
 * Zero configuration, no settings pages
 * Lightweight — only loads in the block editor

## 屏幕截图

 * [[
 * Select text and click the down arrow on the toolbar to see formatting options.
 * [[
 * Text with badge and highlight formatting applied.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/` or install through the WordPress
    plugins screen.
 2. Activate the plugin through the Plugins screen.
 3. Select text in the Block Editor and use the toolbar dropdown for formatting options.

## 评价

![](https://secure.gravatar.com/avatar/b96b0d15a783789395cdef44e063be01558ee823a2cb8814aeaab245ba33a6cd?
s=60&d=retro&r=g)

### 󠀁[Simple Formatting must have.](https://wordpress.org/support/topic/simple-formatting-must-have/)󠁿

 [Leo Gopal](https://profiles.wordpress.org/leogopal/) 2021 年 8 月 27 日

There are very few formatting additions or changes that I would recommend outside
of the norm. But this is one super simple plugin that offers just the right amount
of improvements to always be in my toolkit of favorite first install drop-ins. It
feels weird working on a site without this installed.

![](https://secure.gravatar.com/avatar/68c13cacc427a62d19ac4b080f7d046547ff6d94ade398574d3dd48008f8b218?
s=60&d=retro&r=g)

### 󠀁[A Block editor must-have](https://wordpress.org/support/topic/a-block-editor-must-have/)󠁿

 [kolakube](https://profiles.wordpress.org/alexmangini/) 2021 年 7 月 7 日

Gaurav delivers another useful block editor tweak again! This plugin installs easily
and does what it says, adding two of the most useful typographical tweaks every 
writer should have in their toolbox.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/formatting-extender/reviews/)

## 贡献者及开发者

「Formatting Extender」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Gaurav Tiwari ](https://profiles.wordpress.org/gauravtiwari/)

[帮助将「Formatting Extender」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/formatting-extender)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/formatting-extender/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/formatting-extender/)，或通过[RSS](https://plugins.trac.wordpress.org/log/formatting-extender/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/formatting-extender/)。

## 更新日志

#### 3.0.0

 * Added CSS class adder tool to the formatting toolbar
 * Apply CSS classes to selected text or entire blocks
 * Extensible class suggestions via `formatting_extender_css_classes` filter
 * Keyboard navigation and accessible ARIA roles for suggestions
 * Added ESLint configuration for WordPress coding standards

#### 2.0.0

 * Modernized build system with @wordpress/scripts
 * Migrated JS to ESNext/JSX with proper WordPress imports
 * Replaced deprecated wp-editor dependency with wp-block-editor and wp-rich-text
 * Frontend CSS now properly enqueued via wp_enqueue_scripts (removed wp_footer 
   inline hack)
 * Added proper WordPress icons for toolbar buttons
 * Active state indicator on toolbar buttons
 * Bumped minimum WordPress to 6.0, minimum PHP to 7.4

#### 1.0.3

 * Improvements

#### 1.0.2

 * WordPress 5.8 Compatibility

#### 1.0.1

 * Better and unique CSS classes to prevent conflicts.

#### 1.0.0

 * First version

## 额外信息

 *  版本 **3.0.0**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/formatting-extender/)
 * 标签
 * [badge](https://cn.wordpress.org/plugins/tags/badge/)[block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)
   [formatting](https://cn.wordpress.org/plugins/tags/formatting/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [Highlight](https://cn.wordpress.org/plugins/tags/highlight/)
 *  [高级视图](https://cn.wordpress.org/plugins/formatting-extender/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/formatting-extender/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/formatting-extender/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/formatting-extender/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/formatting-extender/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/formatting-extender/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/formatting-extender/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/formatting-extender/reviews/)

## 贡献者

 *   [ Gaurav Tiwari ](https://profiles.wordpress.org/gauravtiwari/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/formatting-extender/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://gauravtiwari.org/donate/)