Streaming live at 10am (PST)

Rich text in div block


#1

Hello Guys,

I hope you're fine.

I'm facing a problem with Webflow.

I can't add a rich text (that i want to use dynamic) in a div block.
The error message is " this elements can't be nested inside of a link block".

In order that you can see the structure, here is a screenshot of the structure (the rich text has to be in the "text wrapper", in blue :

Here is the preview link : https://preview.webflow.com/preview/leftproductionsfr?preview=056857cb01ed6828c694a25da152eccf

Actually, i have an other website where i have a rich text in a div block and it's working well. You can see the structure below (rich text in blue) :

Here is the preview link of this website : https://preview.webflow.com/preview/leftproductionsfr-ef7253d2052c2c53d086c?preview=131f18bbe121b4b1119c872a2d843179

Thank you for your help.

Kind regards,
Olivier


#2

It's because you're trying to add the RT in a link block. And as you can add links in RT elements, Webflow will do anything to prevent you to have nested links (links inside links). That's why you can't. There is no workarounds. You have to think your structure differently. If you change your link block to a div, it will work.

Now looking at your design example, card design grid, I don't have the feeling you need a RT here. Maybe only a Text field.


#3

Ok thank you Vincent, i'm going to change my structure.

Olivier


#4

This topic was automatically closed after 60 days. New replies are no longer allowed.