Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to hide the formatting toolbar for an html variable on catalog item?

Avinash_Patil1
Giga Guru

How to hide the formatting toolbar for an html variable on catalog item?

find_real_file.png

 

expected output is 

find_real_file.png

5 REPLIES 5

LeonLalaev
Tera Contributor

The following code works for me 😏 (Yokohama patch2-hotfix2)

function onLoad() {
   var sheet = top.window.document.styleSheets[0];
   sheet.insertRule('.tox-editor-header { display: none !important; }', sheet.cssRules.length);
}