Home Overview HTML Editor HTML Editor
The HTML Editor component is a WYSIWYG editor that allows users to edit HTML content.
Usage Disable editor Dark Theme

    
    
 document.getElementById('business-rule-editor').value =
    "/**\\n"+
    "* Sample Code\\n"+
    "*/\\n"+
    "function myBusinessRuleFunction(){\\n"+
    "   const a = 1;\\n"+
    "   const b = 2;\\n"+
    "   let c = a + b;\\n"+
    "   console.log(c);\\n"+
    "}";
    
Theme Please click on checkbox and try disabling able editor.

    
    
Disabled State Make editor look inactive by adding the disabled boolean attribute to any <input> element.

    
    
Usage Theme Disabled State