[WordPress] 外掛分享: Protect schema.org markup in HTML editor

首頁外掛目錄 › Protect schema.org markup in HTML editor
800+
安裝啟用
★★★★★
5/5 分(5 則評價)
107 天前
最後更新
問題解決
WordPress 4.0+ v0.6 上架:2016-06-07

內容簡介

此外掛為 WordPress HTML 編輯器 (tinyMCE) ,可以使它不再將 schema.org 屬性 (如 itemscope/itemtype/itemprop) 視為無效的 HTML 屬性,在儲存文章或頁面內容時也不會將它們移除。這樣一來,使用者就能夠為文章或頁面加入 schema.org/microdata 標記了。credits 中提到 @azaozz 曾建議解決方法,更多討論可參考此連結: https://core.trac.wordpress.org/ticket/27931。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Protect schema.org markup in HTML editor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon