Protect schema.org markup in HTML editor
v0.6Ecwid by Lightspeed Ecommerce Shopping Cart · 2016年6月8日 上架
Easy tool to stop HTML editor from removing schema.org/microdata tags from post or page content.
- 正在使用
- 700+
- 评分
- 5.0 / 5
- 累计下载
- 2.2 万
- 最近更新
- 2026年10月5日
5 条评价需要 WordPress 4.0+已测试到 7.1.5
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