Publish Helper logo

Webflow 的乾淨 HTML

Webflow 是一個深受設計師歡迎的視覺化網站建構器。其富文本元素支援 HTML 內容,但來自 Google Docs 的 inline styles 可能會與 Webflow 基於 class 的樣式系統產生衝突。使用 Publish Helper 清理您的 HTML,以實現與 Webflow 的無縫整合。

I

Webflow 的 HTML 問題

Webflow 的富文本元素會將您網站的字型排版 class 套用到內容上。當貼上的 HTML 帶有 inline styles 時,這些樣式會覆蓋 Webflow 的 class,導致字型、大小和顏色偏離您的設計系統。Google Docs 的 CSS class 在 Webflow 中毫無意義,會產生無效的 class 引用。

II

如何將乾淨的 HTML 貼到 Webflow

  1. 1.

    從 Google Docs、Word 或任何編輯器複製您的內容

  2. 2.

    貼到 Publish Helper 中並點擊「清理 HTML」

  3. 3.

    在 Webflow 中,選擇您的富文本元素並點擊「編輯」

  4. 4.

    開啟富文本的嵌入程式碼檢視

  5. 5.

    從 Publish Helper 貼上乾淨的 HTML

III

Webflow 使用技巧

IV

常見問題

為什麼 Google Docs 的樣式會破壞我的 Webflow 設計?

+

Webflow 使用 CSS class 來設定字型排版。Google Docs 的 inline styles(font-size、font-family、color)具有比 class 更高的 CSS 優先級,因此會覆蓋您的 Webflow 設計。Publish Helper 可移除這些 inline styles。

可以使用 Webflow 的富文本元素嗎?

+

是的,富文本元素是 Webflow 部落格內容的推薦方式。先用 Publish Helper 清理 HTML,以確保內容繼承您的 Webflow 字型排版樣式。

Webflow CMS 集合呢?

+

在 CMS 集合的富文本欄位中添加內容時,使用相同的工作流程:在 Publish Helper 中清理,貼到 CMS 編輯器的富文本欄位中。

Related Tools & Guides

Ready to clean your HTML?

Open Publish Helper

Last updated: March 2026

更新日誌

v2.4.12026-04-27
  • 新功能Paragraph option added to heading dropdown — convert headings back to normal text
  • 修復H1–H6 heading prefixes now convert correctly even when pasted with leading line breaks
  • 修復Fixed page crash on load — cookie consent now renders reliably
  • 改進Dependency updates for better performance and stability
v2.4.02026-04-17
  • 新功能Clear button — quickly wipe all editor content and reset the HTML panel from the left panel header
  • 修復Empty <p></p> placeholder no longer appears in the HTML panel after clearing the editor
  • 新功能Image insert via URL — paste any image URL into the editor with a new toolbar popover
v2.3.22026-04-14
  • 修復Heading conversion rewritten with DOM parsing — now works with any wrapper tag, split headings (H1 + body in same <p>), and safely preserves <li> inside lists
  • 修復Empty heading tags left behind by Google Docs are now automatically removed
v2.3.12026-03-25
  • 修復Heading conversion now handles spaces before the colon (e.g. "H2 : Title")
  • 修復Right-to-left content (Arabic, Hebrew) no longer inverts embedded English text in the editor
  • 修復Spacer paragraphs (&nbsp;) are now preserved in the HTML output instead of being stripped
v2.3.02026-03-20
  • 新功能CJK auto-spacing — automatically insert spaces between Chinese/Japanese/Korean characters and English letters or numbers (powered by pangu.js)
  • 新功能Standalone CJK Auto-Spacing tool page with before/after examples, FAQ, and SEO-optimized bilingual content
  • 新功能Chinese UI text auto-spacing — zh-TW interface text now has proper CJK–Latin spacing
  • 修復Mobile toolbar no longer floats and follows scrolling — stays pinned at the bottom of the editor
  • 修復Mobile toolbar buttons now scroll horizontally instead of overflowing
  • 修復Find & Replace inputs no longer break out of the container on narrow screens
v2.2.12026-03-20
  • 修復Heading conversion now uses the text prefix (e.g. H3:) to set the heading level, even when the content is already inside a different heading tag
v2.2.02026-03-18
  • 新功能AI-Powered Title to SEO Slug — Convert blog titles in any language to SEO-friendly English slugs in under 10 seconds
  • 新功能Slug generator toggle on the main page — generate slugs right after editing, above the fold
  • 新功能Table support — pasted tables from Google Docs now render correctly
  • 新功能Remove <br> after headings cleanup option (on by default)
  • 新功能Partial text selection copy in the HTML code view
  • 新功能Sticky Clean HTML button at the bottom of the page
  • 改進Heading conversion now strips prefixes from existing heading tags and supports Chinese full-width colon (:)
  • 改進Shared footer across all pages
v2.1.22026-03-17
  • 修復Bug fixes and improvements
v2.1.12026-03-16
  • 修復Bug fixes and improvements
v2.1.02026-03-16
  • 新功能Formatted/Raw toggle for the HTML code view
  • 改進Copying from the code panel now always gives clean, unformatted HTML
v2.0.02026-03-16
  • 新功能Welcome to Publish Helper — free online tools for content editors
  • 改進Improved search engine visibility
v1.1.02026-03-16
  • 改進Clipboard copy — clean HTML output matches the code view
v1.0.02026-03-16
  • 新功能Rich text editor with Google Docs paste support
  • 新功能HTML cleanup: strip styles, classes, empty tags, and Google Docs artifacts
  • 新功能Heading conversion from text prefixes to proper HTML tags
  • 新功能Find & replace with regex support and saveable presets
  • 新功能Syntax-highlighted HTML preview with one-click copy