Is it possible to dynamically replace only part of text?

Hi! I’m new to Webflow so this may be a dumb question. I apologize in advance if it is.

Is it possible to replace only some text in a text block or rich text element with dynamic content from the CMS? For example, say I have a CMS Collection Page containing a block of text like this where the text in parenthesis would be dynamic:

Client: (client name from CMS)
Agency: (agency name from CMS)
Year: (year from CMS)

I have been searching through the documentation but I haven’t found anything saying this is possible. My workaround is to have static text blocks inline with dynamic text blocks, but it would be much nicer if it could all be one element.

Any advice would be greatly appreciated. Thanks!

Not really. The nearest you can get natively is to use Rich Text Blocks with embed fields in it, but then you’re trading designer capabilities for raw HTML in your embeds. It does work though.

Anything else requires some creative script work.

1 Like

Got it. That’s very helpful. Thanks!