跳到内容

Pasted HTML Cleanup

v1.1.1

Dovi Solutions · 2026年9月16日 上架

Strips pasted-in junk HTML (inline styles, spans, stray attributes) from posts, Elementor widgets and ACF fields on save, or in bulk.

正在使用
10 以下
评分
暂无
累计下载
327
最近更新
2026年9月25日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Tools > HTML Cleanup: pick the post types and the scope to clean, run the manual cleaner, or start a bulk pass.
Tools > HTML Cleanup: pick the post types and the scope to clean, run the manual cleaner, or start a bulk pass.
The manual cleaner, with markup pasted out of Word on the left and the cleaned result on the right.
The manual cleaner, with markup pasted out of Word on the left and the cleaned result on the right.

This plugin improves HTML content hygiene by:

  • Replacing <b>/<i> with semantic <strong>/<em> tags
  • Removing inline styles, class, id, aria-*, and data-* attributes
  • Flattening <span> tags while preserving inner text
  • Cleaning up Elementor’s text-editor widgets
  • Running cleanup automatically on post save (for selected post types)
  • Bulk-processing posts via the Tools menu
  • Providing a real-time manual HTML cleanup tool in the admin

Useful for websites that have been copy-pasting styled HTML from other sources (like Word or Google Docs), or importing messy content from page builders.

Usage

  • Enable or disable cleanup by post type via the Tools > HTML Cleanup settings.
  • Use the WYSIWYG cleaner to test and clean HTML manually.
  • Click “Start Cleanup” to process all matching posts in batches via AJAX.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums