Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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);
}