[WordPress] 外掛分享: MarkuClean – AI Markup Cleaner

首頁外掛目錄 › MarkuClean – AI Markup Cleaner
WordPress 外掛 MarkuClean – AI Markup Cleaner 的封面圖片
全新外掛
安裝啟用
尚無評分
4 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-03-12

內容簡介

MarkuClean Markup Cleaner 是一款輕量且安全的 WordPress 外掛,專為清除 AI 工具(如 ChatGPT)生成的多餘 HTML 標記而設計。它能有效去除不必要的屬性,保持內容整潔,並確保 WordPress 的結構不受影響。 【主要功能】 • 移除 data-start 和 data-end 屬性(僅限數字) • 清除 AI 生成的整個 <hr> 標籤(當 data-start 和 data-end 同時存在時) • 在粘貼時清理 AI 標記 • 在保存時清理內容(支援 Gutenberg 和 TinyMCE) • 保留所有合法的 WordPress 和建構器標記 • 與 Gutenberg、Classic Editor 和 Elementor 相容

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝
① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MarkuClean – AI Markup Cleaner」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

MarkuClean Markup Cleaner is a lightweight and safe WordPress plugin designed to clean unwanted HTML artifacts generated by AI tools such as ChatGPT. Modern AI tools often inject technical markup into copied content, including attributes like: data-start=”123″ data-end=”456″


UI markers from AI interfaces These attributes are not part of WordPress logic and can pollute your HTML, create spacing issues, or introduce unnecessary clutter into your content. This plugin removes only those AI-specific artifacts while preserving: Gutenberg block structure WordPress block comments () Elementor data attributes Other builder-related data-* attributes Core WordPress formatting It is designed to be safe, minimal and non-destructive. Features Removes data-start and data-end attributes (numeric only) Removes entire
tags generated by AI (only when both data-start and data-end are present) Cleans AI artifacts on paste Cleans content on save (supports Gutenberg and TinyMCE) Preserves all legitimate WordPress and builder markup Compatible with Gutenberg, Classic Editor and Elementor No heavy DOM rewriting No interference with WordPress core logic How It Works The plugin hooks into the WordPress content save pipeline and: Unsplashes post content properly. Removes only AI-specific attributes using strict matching rules. Re-applies proper slashing before WordPress saves content. Leaves all other attributes untouched. It also handles escaped attributes such as: data-start=\"123\" to ensure cleaning works in real WordPress save scenarios. The plugin never modifies: Custom data-* attributes used by builders JSON block attributes Elementor internal metadata WordPress block comments Post meta unrelated to content Usage Install and activate the plugin. Paste AI-generated content into Gutenberg or Classic Editor. Click Update / Publish. AI-specific attributes will be automatically removed. Your formatting and builder structure will remain intact. No configuration is required. Supported Editors Gutenberg (Block Editor) Classic Editor (TinyMCE) Elementor (post_content cleaning safe) Any editor that saves content via standard WordPress pipeline Example Cleanup Before:

Text...



After:

Text...

Performance

The plugin uses targeted regex and minimal processing. It does not load unnecessary libraries. It does not run heavy DOM rewrites unless required. Impact on performance is negligible. Security The plugin: Does not store external data Does not send data outside WordPress Does not modify user roles or permissions Only filters content during save Author Developed by ivijanstefan License This plugin is licensed under the GPLv2 or later.

延伸相關外掛


文章
Filter
Apply Filters
Mastodon