Webflow sync, pageviews & more.
NEW

Can Webflow combine static and dynamic text in a text block or a rich text field?

TL;DR
  • Use a regular Text Block (not Rich Text) in Webflow to mix static and dynamic CMS text inline using the "Add Field" button.
  • Rich Text fields from CMS collections can't mix inline static and dynamic text; use separate elements or custom JavaScript as a workaround.

Webflow allows combining static and dynamic text in a text block, but not directly within a rich text field from a CMS collection.

1. Combine Static and Dynamic Text in a Text Block

  • Use a regular Text Block (not a Rich Text) bound to a CMS collection.
  • Insert static text directly inside the Text Block through the Designer.
  • Use "Add Field" (purple button) to inject a dynamic CMS field within the text.
  • Example: You can write "Posted by [Author Name]" where [Author Name] is a dynamic CMS field pulled from your collection.

2. Limitations with Rich Text Fields

  • Rich Text elements that are bound to a CMS rich text field can only display content exactly as it's stored in the CMS.
  • You cannot mix static and dynamic text inline inside the field in the Designer.
  • All formatting and content must be edited directly in the CMS or through the CMS API.

3. Workarounds for Rich Text

  • You can use multiple elements together to simulate mixing:
  • Place a Text Block with static and dynamic text above or below a Rich Text field.
  • Use custom scripting (JavaScript) to inject dynamic text inside a rendered rich text area, but this is not native to Webflow and breaks CMS clean workflows.

Summary

Webflow supports combining static and dynamic text in a Text Block, but not inside a Rich Text field bound to a CMS. For more control, use Text Blocks when you need to mix static and CMS content inline.

Rate this answer

Other Webflow Questions