19 August, 2017

Add a new CSS class in RTE


There are two simple steps involved in order to add a new CSS class in RTE.

  1.  Add <class>  element in Website\sitecore\shell\Controls\Rich Text Editor\ToolsFile.xml :

  2.  Now add the definition of that CSS class in Website\default.css file:

  3.  Make sure to delete the cache, and you can see newly added customeClass CSS class in rich text editor drop-down.

I hope that was helpful for you! Please do not hesitate to comments or contact me if you have any question. 🌺

Baraa Masri
Email: Bmasri@tanasuk.com
Twitter: @Bara_Masri