Webflow's design system assumes classes decide appearance, so a pasted font-size breaks it outright: inline style out-ranks every class rule. This page covers what happens inside a Rich Text element versus a CMS Rich Text field, why tables need an Embed element, and how to keep .w-richtext in charge.
Webflow's Rich Text element applies your site's typography classes to content. When pasted HTML carries inline styles, those styles override Webflow's classes, causing fonts, sizes, and colors to break from your design system. Google Docs CSS classes are meaningless in Webflow and create dead class references.
Editor:Webflow Designer with Rich Text Elements; CMS collections use Rich Text fields
Webflow rebuilds the paste into RTE child elements — headings, paragraphs, lists, links — and keeps inline style attributes on them. Those inline styles beat your class-based typography, because inline style out-ranks a class selector.
The field accepts a limited tag set and drops custom classes and ids. Heading tags are kept, but a <div class="..."> wrapper from a document editor is discarded along with the class.
RTE content sits inside .w-richtext, and Webflow's own base styles apply to direct children. Your stylesheet's .w-richtext h2 rule loses to style="font-size:18px" sitting on the h2 itself.
The RTE cannot hold those as editable children. Add an Embed element (or custom code inside the RTE) and put the markup there instead.
Copy the passage you want to publish
Clean it in Publish Helper — inline styles removed is the critical option for Webflow
In the Designer, double-click into the Rich Text element (or open the CMS Rich Text field)
Paste, then check each heading in the Navigator to confirm it is a real H2/H3, not styled body text
For anything the RTE cannot hold (tables, iframes), add an Embed element and paste the markup there
The heading carries an inline font-size. Remove inline styles in Publish Helper before pasting, then the class rule from your style panel is the only thing setting size.
Webflow's Rich Text element does not preserve tables as editable content. Rebuild the table in an Embed element, with cleaned HTML that carries no width attributes.
CMS Rich Text fields only accept a restricted tag set. Remove ids, custom classes and nested layout divs before pasting; keep paragraphs, headings, lists and links.
Webflow's whole design system assumes that classes decide appearance. That assumption is what makes pasted document HTML so destructive: a Docs paragraph arrives with font-family, font-size and colour written into the element, and no class rule can win against that without !important. The fix is structural, not cosmetic — remove the inline styles, let .w-richtext h2 and your typography classes do the work, and rebuild anything the RTE cannot hold in an Embed element.
There is a second, quieter trap in CMS collections. Collection items are rendered by a template page, and the Rich Text field is sanitised to a limited set of tags; custom classes and ids are dropped on save. So markup that looked right in the Designer preview can lose its wrappers in the published collection page. Test the published item, not only the canvas, and prefer semantic tags over class-dependent layout.
Only when you deliberately want one element to differ from your typography classes. Inline style always wins, which makes it a one-off override and a maintenance problem later. For imported documents, remove every inline style and restyle through classes.
If the source used a styled span or a div instead of a real heading tag, the field has nothing to preserve. Run heading conversion before pasting so the markup contains genuine h1–h6 elements.
Webflow uses CSS classes for typography. Google Docs inline styles (font-size, font-family, color) have higher CSS specificity than classes, so they override your Webflow design. Publish Helper strips these inline styles.
Yes, Rich Text elements are the recommended approach for blog content in Webflow. Clean your HTML with Publish Helper first to ensure the content inherits your Webflow typography styles.
When adding content to CMS collection Rich Text fields, use the same workflow: clean in Publish Helper, paste into the Rich Text field in the CMS editor.
Ready to clean your HTML?
Open Publish HelperLast updated: March 2026