Is it impossible to add hyperlink manually in the content of the Prismic Rich Text

Hi, Support Team!

I would like to add hyperlinks manually in the Rich Text content.

Ex:

<a href="https://www.sandbox.game/en/" rel="nofollow mark it" >frase</a>
<a href="https://www.sandbox.game/en/" rel="noindex" >frase</a>

I will need the possibility to add meta no index no follow...

How can I solve this problem?

Maksym

Hi Maksym,

Unfortunately, it's not possible to just drop HTML into a Rich Text like this and expect it to be executed. Although all the content of the Rich Text field is output as HTML and you can modify this by adding a custom HTML Serializer.

So you can add meta no index no follow to your internal links using the HTML Serializer.

Let me know if you need any more help with this.

Thanks.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.