🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Preserved HTML Editor Markup icon
Peut-être abandonné Testé jusqu'à 3.4.2 #97 in editor

Preserved HTML Editor Markup

This plugin preserves the user-generated HTML markup in the TinyMCE editor. Unlike other plugins this one allows developers to work in the HTML tab AND end-users to work in the WYSIWYG Visual tab at the same time! No…

Installations actives600+100+ niveaux
Téléchargements · 30D241▲ +62.8% vs prev. 30d
Évaluation5/542 avis
Score de santé44/100Juste
Téléchargements de tous les temps41.3KDepuis octobre 2011
Support résolu—Aucun fil de discussion récent
A besoin deWP 3.2.1Php tout
Téléchargements · 7j73▲ +30.4% week over week
Notre verdict

Utiliser avec prudence

Preserved HTML Editor Markup works, but test it on a staging site before relying on it in 2026. It runs on 600+ sites, is rated 5/5 and was last updated 9 years ago, and scores 44/100 on our health check.

  • Aimé par les utilisateurs — 5/5 sur 42 avis
  • Petite base d'utilisateurs (600+ installations actives)
  • Pas de mise à jour dans 9 ans
  • Uniquement testé jusqu'à WordPress3,4 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4913Sep 1Oct 15Nov 29
Hier3
Moyenne quotidienne (1 ans)4
Jour de pointe26Apr 2, 2026
12 Derniers mois1.4K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Preserved HTML Editor Markup stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
éditeur >100 10,000 Meilleurs plugins d'éditeur →
html >100 10,000 Best html plugins →
markup >100 5,238 Best markup plugins →
white space >100 673 Best white space plugins →
wpautop >100 200 Best wpautop plugins →

Adoption de version

Part de sites actifs par version.

  • 1.5100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 42 avis

  • 5★95.2%
  • 4★4.8%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Preserved HTML Editor Markup

À partir du Lisez-moi officiel · v1.5

Description

This plugin preserves the user-generated HTML markup in the TinyMCE editor. Unlike other plugins this one allows developers to work in the HTML tab AND end-users to work in the WYSIWYG Visual tab at the same time! No longer will your HTML markup be completely munged into an unrecognizable form when you switch between those tabs. And you don’t have to hang your users/editors out to dry when you hand off the project with a disabled Visual tab.

IMPORTANT: Please read the installation instructions carefully. If you have existing content it will not render properly after activating this plugin until you use the Fix It Tools.

(One user didn’t read or follow these steps and panicked thinking I ruined their website.)

It also supports HTML5 Block Anchor tags in addition to other HTML5 elements, something that is currently not supported in WordPress via any existing plugins.

Version 1.5 will probably be the last version I release for a while since my daughter will be born soon. I’ve added support for full JavaScript code blocks in the HTML tab. They are compatible and preserved when switching to Visual mode. This rounds out the support for almost complete html preservation, with full use of the WYSIWYG editor. And you don’t need to wrap comment codes around it per the recommendations located here: https://codex.wordpress.org/Using_Javascript but you can leave them in if you want.

Version 1.4 was just a minor patch release. User @denl noticed a problem with the plugin CataBlog which implements its own administrative management features by disabling the ‘show_ui’ flag for its custom post type. I was ignoring any custom post type that didn’t have a GUI, but it was an unecessary filter that probably limited other plugins. This fix allows any post type that supports the TinyMCE editor to be “fixed” using the tools under Admin > Settings > Writing.

Since version 1.3 you can now use inline CSS and JavaScript in the HTML editor and everything should be preserved. To be clear, this applies to tags only, like onclick events and style definitions – not script blocks themselves. To enable this feature you must disable the wptexturize and convert_chars filters by adding the following code to your theme’s functions.php:

remove_filter("the_content", "wptexturize");
remove_filter("the_content", "convert_chars");

This new feature is pretty experimental at the moment. I tried to make it compatible with wptexturize but that proved close to impossible without duplicating a lot of core code in my plugin. It’s also not compatible with TinyMCE Advanced when the “stop removing p and br tags” setting is enabled.
I’ve tested it on a variety of code samples and I’m pleased with the results but if you find any content that isn’t preserved just open a support ticket and I should be able to fix it.

Since version 1.2, you now have a little more control over how content is created. And most of the previous caveats to using this plugin are now resolved.

  1. You can now choose whether to use BR tags OR P tags for newlines. Even better you can use both, where one return key press injects a BR tag, and two return key presses will wrap a Paragraph tag. This is great for being able to wrap headers at specific break points all while enjoying the semantic perks of paragraphs.

  2. In addition to choosing what type of tags to use, you can also change the behavior depending on the type of post, including custom post types. So Pages can default to BR tags, and Blog Posts can default to Paragraph tags.

  3. If you have existing content that was created before activating this plugin, you can now use the Fixit feature to convert your existing content in a way that makes it render the same as before. Only use this feature (located under Admin > Settings > Writing: Fixing Existing Content) if you are installing this plugin for the first time, otherwise it will remove all of the formatted white space in your posts.

  4. Multi-line HTML comments are now supported (Thanks to @cwlee_klagroup for suggesting the working fix!)

  5. The Format drop down in the TinyMCE editor had a bug which is now fixed. It will now select “Format” if you place the cursor on a section of bare text. Currently the editor just leaves the previously selected format option in place. It’s minor but it’s good to know when you have bare text in your content.

  6. There was a fairly problematic bug in the old version where in some browsers you couldn’t change the formatting of a single line in the Visual editor if you started from scratch. Choosing a different Format option would change the entire document, with the only work around being to edit the document in HTML mode. That was bad, and somehow went unnoticed for far too long. Anyway, that is fixed now.

The caveats that still remains are:

  1. With script blocks added to your HTML markup, the right arrow key does not pass over them in the Visual Tab. You can down arrow over them however so this will likely never be addressed.

  2. If you use the Paragraph tag setting for newlines there is a minor bug where it will only wrap your content in Paragraph tags if you specify Paragraph in the Format drop down or if you enter more than one paragraph of text. So if you just type one sentence and click save it will not wrap the content in Paragraph tags. I tried to fix this but ran out of my allotted time working on other core issues. Should be fixed in the next release.

  3. For performance reasons, it will only preserve spaces if 4 spaces are used consecutively – i.e. an expanded tab in developer terms. It will not preserve intra-tag white space like <p    >.

  4. If you do add 4 or more spaces inside of an element tag it will corrupt the markup and mangle the output. But as this is intended for developer edits, this should be an extreme rarity given the habit is virtually non-existent in development communities.

  5. PRE tags are not affected and behave as you would expect, however due to how browsers parse tags, the first newline in the content of a PRE tag will be wiped out unless it is padded with either another new line or multiple spaces.

  6. CODE tags are not preserving white space at all, and when wrapped with PRE tags white space is still removed. I’m working to resolve this problem.

Arbitrary section

Installation

  1. Upload the plugin contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress Admin
  3. If you have existing content that needs fixing, use the “Fix Posts” feature under Admin > Settings > Writing: Fix Existing Content.
  4. Vous avez terminé !

Journal de modifications

If you used version 1.0 or 1.1 to create content, do not use the Fix it features unless you are ok with losing the white space preservation of those posts.

1.4

  • Removed ‘show_ui’ filter for fix custom post type buttons.

1.3

  • Added support for inline JavaScript and CSS, as long as the wptexturize and convert_chars filters are disabled. (Thanks to ViennaMex for pointed out the problem.)
  • Added cache-buster for this plugin’s JavaScript includes to prevent upgrade issues seen in version 1.2 (Thanks to dreamdancerdesign, peterdub & abbyj for troubleshooting support.)
  • Special thanks to dreamdancerdesign for providing a live testing server – above and beyond.

1.2

  • Added support for user-specified newline behavior per post type
  • Added support for multi-line html comments (Thanks cwlee_klagroup!)
  • Fixed a bug found in TinyMCE related to Format drop down
  • Added tools to convert existing site content programmatically by post type.

1.1

  • Refactored for support of < php5.3 by replacing function references with static function array refs

1.0

  • Initial creation of plugin

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Preserved HTML Editor Markup alternatives

All editor plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Elementor Générateur de sites Web prêts pour les agents Elementor Générateur de sites Web prêts pour les agents Le constructeur de sites Web Elementor a tout pour plaire : glisser-déposer un constructeur de pages, éditeur atomique, pixel... par Elementor 10M+ ★★★★★★★★★★ 4.5 (7.3K) il y a 6 jours 95
2 Éditeur classique Éditeur classique Active l'éditeur "Classic" précédent et l'écran d'édition à l'ancienne avec TinyMCE, Meta… par WordPress.org 8M+ ★★★★★★★★★★ 4.9 (1.3K) Il y a 6 mois 64
3 Widgets classiques Widgets classiques Active les précédents écrans de paramètres "Classic" Widgets dans Apparence - Widgets et… Par Tonya Mork 2M+ ★★★★★★★★★★ 4.9 (274) il y a 12 mois 56
4 Outils d'éditeur avancés Outils d'éditeur avancés Extension et améliore l'éditeur de blocs (Gutenberg) et l'éditeur classique (TinyMce). Par Andrew Ozz 1M+ ★★★★★★★★★★ 4.5 (354) Il y a 3 mois 71
5 Spectra Legacy – Blocs Gutenberg Spectra Legacy – Blocs Gutenberg Gutenberg Blocs pour les sites Web de spectres existants. Maintenu, stable et entièrement pris en charge —… par la force du remue-méninges 1M+ ★★★★★★★★★★ 4.7 (1.9K) Il y a 2 semaines 87
6 Éditeur de rôles utilisateur Éditeur de rôles utilisateur Editeur de rôles utilisateurs WordPress Le plugin facilite la modification des rôles et des capacités des utilisateurs… Par Vladimir Garagulya 600K+ ★★★★★★★★★★ 4.5 (288) il y a 3 heures 90
7 Blocs Kadence — Page Toolkit de Page Builder pour Gutenberg Éditeur Blocs Kadence — Page Toolkit de Page Builder pour Gutenberg Éditeur 20+ blocs Gutenberg avec des options infinies, permettant une efficacité optimale pour… par Nexcess 600K+ ★★★★★★★★★★ 4.8 (337) il y a 6 jours 90
8 Désactiver Gutenberg Désactiver Gutenberg Désactivez l'éditeur de blocs Gutenberg et restaurez l'éditeur classique et l'écran d'édition original… de Jeff Starr 500K+ ★★★★★★★★★★ 5 (735) 3 semaines plus tôt 97
9 Générateur de pages : PageLayer – Glissez-déposez le générateur de sites Web Générateur de pages : PageLayer – Glissez-déposez le générateur de sites Web Le générateur de page de glisser-déposer de frontal le plus avancé. PageLayer est un poids léger mais… par Softaculous 300K+ ★★★★★★★★★★ 3.9 (105) Il y a 2 semaines 72
10 Générer des blocs Générer des blocs Une petite collection de blocs WordPress légers qui peuvent accomplir presque tout. par Tom 200K+ ★★★★★★★★★★ 4.9 (122) 3 semaines plus tôt 87

FAQ

Preserved HTML Editor Markup: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Preserved HTML Editor Markup free?

Yes. Preserved HTML Editor Markup is free to download and use from the official WordPress.org plugin directory.

Is Preserved HTML Editor Markup safe to use in 2026?

Preserved HTML Editor Markup works, but test it on a staging site before relying on it in 2026. It runs on 600+ sites, is rated 5/5 and was last updated 9 years ago, and scores 44/100 on our health check.

How many websites use Preserved HTML Editor Markup?

Preserved HTML Editor Markup is active on 600+ WordPress websites and has been downloaded 41,266 times since it launched in October 2011. It was downloaded 241 times in the last 30 days.

Does Preserved HTML Editor Markup work with WordPress 7.1?

Preserved HTML Editor Markup is officially tested up to WordPress 3.4.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Preserved HTML Editor Markup last updated?

The latest version, 1.5, was released on November 28, 2017 (9 years ago).

Who makes Preserved HTML Editor Markup?

Preserved HTML Editor Markup is developed and maintained by MarcusPope.

What are the best alternatives to Preserved HTML Editor Markup?

The most popular alternatives to Preserved HTML Editor Markup are Elementor Agent Ready Websi… (10M+ installs), Classic Editor (8M+ installs) and Classic Widgets (2M+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir