plugin-icon

Tooltester Clean Paste for Google Docs

作者:tooltester·
Removes the messy inline formatting Google Docs leaves behind when you paste into the WordPress editor.
版本
1.0.3
活跃安装
10
最后更新
Apr 28, 2026
Tooltester Clean Paste for Google Docs

When you copy content from Google Docs and paste it into WordPress, you get messy HTML like this:

<span style="font-weight: 400;">Your perfectly normal text.</span>

And list items end up looking like this:

<li style="font-weight: 400;" aria-level="1">A simple bullet point.</li>

None of this formatting does anything visible on your site. It just clutters your markup and can cause issues with themes and page builders.

This plugin automatically strips that junk every time you save a post or page.

What it cleans:

  • <span style="font-weight: 400;"> wrappers (keeps the text inside, removes the span)
  • style="font-weight: 400;" on list items
  • aria-level attributes on list items (Google Docs nesting markers that WordPress doesn’t need)

What it does NOT touch:

  • Bold, italic, links, headings, images, or any other meaningful formatting
  • Content inside <code> or <pre> blocks (safe for tutorial sites that show HTML examples)
  • Custom fields, widgets, menus, or anything outside the post editor

No settings. No admin page. No JavaScript. Just one lightweight filter that runs on save.

Trademark notice: This plugin is not affiliated with, endorsed by, or sponsored by Google LLC. “Google Docs” is a trademark of Google LLC and is used here only to describe the source of the formatting this plugin cleans up.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。