Title: Consistency – Typography Corrector for Gutenberg
Author: Loïc Antignac
Published: <strong>2022 年 12 月 17 日</strong>
Last modified: 2025 年 12 月 25 日

---

搜索插件

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

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

# Consistency – Typography Corrector for Gutenberg

 作者：[Loïc Antignac](https://profiles.wordpress.org/webaxones/)

[下载](https://downloads.wordpress.org/plugin/consistency.1.8.7.zip)

[实时预览](https://cn.wordpress.org/plugins/consistency/?preview=1)

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

 [支持](https://wordpress.org/support/plugin/consistency/)

## 描述

Have you seen the typographic corrector in your word processor that formats what
you type in real time? Well, it’s the same idea but with Gutenberg.

This WordPress plugin ensures consistent typography and punctuation on your site.

Corrections are applied automatically both during text entry and when pasting text.

All users can choose to enable or disable corrections, but only administrators can
configure the correction rules.
 Autocorrect is available for pages, posts, and 
custom post types (if they are configured to use the Rest API). The available automatic
corrections are listed on [the plugin repository on github](https://github.com/webaxones/consistency/)
and are categorized as follows: Apostrophes, Quotation Marks, Dashes, Suffixes, 
Spaces, Case, Ellipsis, Symbols.

Pressing Ctrl+Z or Cmd+Z immediately after a correction disables the correction 
for the next keystroke.

### Technical Informations

**Data Storage**: Rules are saved in the wp_options table, while active/inactive
states are saved as user meta data.
 This data is deleted when the plugin is uninstalled.

**Settings Location**: Settings are directly in a plugin sidebar under the Block
Editor: no more searching for an options page, always available and discreet.

**Supported Locales**: The locales supported by this plugin are:
 fr_FR, fr_BE, 
en_US, en_AU, en_CA, en_NZ, en_ZA, en_GB, de_DE, de_AT, de_CH, ro_RO

If your locale is not supported by Consistency but you still want to access all 
available rules, you can disable the localization of rules via a filter. Add this
to your theme’s functions.php file:

    ```
    add_filter( 'Consistency\only_show_locale_correction_rules', '__return_false' );
    ```

All correction rules will then appear, with automatic management of rule incompatibilities(
if rule A is enabled and it is incompatible with rule B, rule B will be grayed out).

## 屏幕截图

[⌊Actions Settings: These settings can be seen and modified by all user roles, unlike
the following ones relating to correction rules which can only be seen and modified
by an administrator role.⌉⌊Actions Settings: These settings can be seen and modified
by all user roles, unlike the following ones relating to correction rules which 
can only be seen and modified by an administrator role.⌉[

Actions Settings: These settings can be seen and modified by all user roles, unlike
the following ones relating to correction rules which can only be seen and modified
by an administrator role.

[⌊Apostrophes⌉⌊Apostrophes⌉[

Apostrophes

[⌊Quotation marks⌉⌊Quotation marks⌉[

Quotation marks

[⌊Dashes⌉⌊Dashes⌉[

Dashes

[⌊Suffixes⌉⌊Suffixes⌉[

Suffixes

[⌊Spaces⌉⌊Spaces⌉[

Spaces

[⌊Case⌉⌊Case⌉[

Case

[⌊Ellipsis⌉⌊Ellipsis⌉[

Ellipsis

[⌊Symbols⌉⌊Symbols⌉[

Symbols

## 安装

 1. Install the plugin and activate.
 2. Configure the rules in the editor.

## 常见问题

### Does this plugin modify my content?

Yes, the saved content will be the one modified by the plugin, but you can see the
changes being made in real time and you can choose to accept or reject them.

### Will this plugin slow down my page loading time?

Absolutely not, since nothing is done on the front end. The processing only occurs
when you enter content.

## 评价

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

### 󠀁[Essential plugin for typographic consistency](https://wordpress.org/support/topic/essential-plugin-for-typographic-consistency/)󠁿

 [Timothée](https://profiles.wordpress.org/timfdv/) 2024 年 2 月 16 日

This extension is a must-have if you’re concerned about the consistency of your 
typography. In French, having non-breaking spaces automatically before characters
that require them is a real time-saver! No more exclamation marks ending a line 
below the title

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

### 󠀁[Excellent !](https://wordpress.org/support/topic/excellent-12660/)󠁿

 [rifel](https://profiles.wordpress.org/rifel/) 2023 年 4 月 2 日 1 回复

Excellent ! As useful in english than in FrenchEt en plus si vous vous retrouvez
dans une situation qui le nécessite, la modification est débrayable. Depuis le temps
que je me prenais la tête avec les insécables et les guillemets ouverts et fermés.
Petit reproche sur les ordinaux, seul le premier caractère passe en sup. (ou je 
m’ ‘y prend comme un manche ce qui est loin d’être impossible)Exemple : 1+e = 1e,
mais 1+e+r = 1er Excellent quoiqu’il en soitUn grand merci Monsieur Antignac !

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

## 贡献者及开发者

「Consistency – Typography Corrector for Gutenberg」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ Loïc Antignac ](https://profiles.wordpress.org/webaxones/)

「Consistency – Typography Corrector for Gutenberg」插件已被翻译至 2 种本地化语言。
感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/consistency/contributors)
为本插件所做的贡献。

[帮助将「Consistency – Typography Corrector for Gutenberg」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/consistency)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.8.7

 * Fix percentagges rule that incorrectly repositioned the cursor
 * Fix two dots correction

#### 1.8.6

 * Fix activation/Uninstallation hooks.

#### 1.8.5

 * Fix: readme.

#### 1.8.4

 * Fix: settings saving reliability.
 * Fix: sprintf compatibility for WordPress 6.9.

#### 1.8.3

 * Add: Indicate compatibility with WordPress 6.8

#### 1.8.2

 * Fix: Fix cursor repositionning which was buggy since wp6.6
 * Fix: Disable number suffix correction while waiting to recode it using formats
 * Add: Indicate compatibility with WordPress 6.7

#### 1.8.1

 * Fix: Resolves incompatibilities with block plugins such as Kadence, GeneratePress,
   etc.
 * Fix: Fix the names of enabled or disabled rules in the notices

#### 1.8.0

 * Update: code refactoring (replace global variables with global context, some 
   functions with custom hooks, and allow to process more blocks)

See [changelog.txt](https://plugins.svn.wordpress.org/consistency/trunk/changelog.txt)
for older changelog

## 额外信息

 *  版本 **1.8.7**
 *  最后更新：**6 月前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/consistency/) 、 [French (France)](https://fr.wordpress.org/plugins/consistency/)
   和 [Romanian](https://ro.wordpress.org/plugins/consistency/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/consistency)
 * 标签
 * [block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [punctuation](https://cn.wordpress.org/plugins/tags/punctuation/)[typography](https://cn.wordpress.org/plugins/tags/typography/)
 *  [高级视图](https://cn.wordpress.org/plugins/consistency/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Loïc Antignac ](https://profiles.wordpress.org/webaxones/)

## 支持

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

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