Rich Text editor span element

Hello,
Is there any option for colorizing a text in Rich text editor? I want to give a specific color to a word in my blog. If not, is there an option of providing span element in rich text editor. For example I would like to render this -> <h1>Hello <span>World</span></h1>. The span element contain so gradient animation.

Hi @rinkusamanta12. There aren't any native color options in the Rich Text editor, but you can use Rich Text Labels to create span elements with aa given class so that you can add your own custom CSS to the selected text.

Here's another thread that discusses this:

And here is the article where you can learn more about Rich Text Labels:
https://intercom.help/prismicio/en/articles/1943308-add-custom-styles-to-rich-text

1 Like

This issue has been closed due to inactivity.