Protect schema.org markup in HTML editor

Protect schema.org markup in HTML editor

Details
View on WordPress

WordPress HTML editor (tinyMCE) treats schema.org attributes like itemscope/itemtype/itemprop as invalid HTML attributes and strips them when you save the post or page content. This plugin alters this behavior and prevent the WordPress HTML editor from removing the schema.org/microdata markup.

Credits

@azaozz suggested the solution. See the issue discussion here: https://core.trac.wordpress.org/ticket/27931

Details

Plugin code:
protect-schemaorg-markup-in-html-editor
Plugin version:
0.6
Outdated:
No
WP version:
4.0 or higher
PHP version:
or higher
Test up to WP version:
6.9
Total installations:
800
Last updated:
2025-12-01
Rating:
Times rated:
5
html-editor
microdata
rich-snippets
schema-org
tinymce