static/ext/src/form/field/HtmlEditor.js
function(cmd, value){
        var me = this,
            doc = me.getDoc();
        doc.execCommand(cmd, false, (value == undefined ? null : value));
        me.syncValue();
    }
function(cmd, value){
        var me = this,
            doc = me.getDoc();
        doc.execCommand(cmd, false, (value == undefined ? null : value));
        me.syncValue();
    }
Executes a Midas editor command directly on the editor document. For visual commands, you should use
{@link #relayCmd} instead. **This should only be called after the editor is initialized.**
@param {String} cmd The Midas command
@param {String/Boolean} [value=null] The value to pass to the command