Descriere
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 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.
Informații tehnice
Stocare date: regulile sunt salvate în tabelul wp_options, în timp ce stările active/inactive sunt salvate ca metadate ale utilizatorilor.
Aceste date sunt șterse când modulul este dezinstalat.
Settings Location: Settings are directly in a plugin sidebar under the Block Editor: no more searching for an options page, always available and discreet.
Locale acceptate: localele acceptate de acest modul sunt:
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).
Capturi ecran
Instalare
- Instalează modulul și activează-l.
- Configurează regulile din editor.
Întrebări frecvente
-
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.
Recenzii
Contributori și dezvoltatori
„Consistency – Typography Corrector for Gutenberg” este un software open-source. La acest modul au contribuit următoarele persoane.
Contributori„Consistency – Typography Corrector for Gutenberg” a fost tradus în 2 locale. Mulțumim traducătorilor pentru contribuția lor.
Tradu „Consistency – Typography Corrector for Gutenberg” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
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)
1.7.1
- Fix: Ensures in all cases to only use rules authorized by local parameters
1.7.0
- Add: Add the ability to display all correction rules regardless of the current locale with a filter (Consistency\only_show_locale_correction_rules)
- Add: Prevents incompatible fixes from being enabled when locale limiting has been disabled by the filter
- Add: Update readme
See changelog.txt for older changelog