跳到内容

Tooltester Clean Paste for Google Docs

v1.0.3

tooltester · 2026年4月28日 上架

Removes the messy inline formatting Google Docs leaves behind when you paste into the WordPress editor.

正在使用
10+
评分
暂无
累计下载
427
最近更新
2026年4月28日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.2+

贡献者

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.

Plums

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

导航

说明

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

© 2026 Plums