function () {
        var me = this;

        var ed = tinymce.get(me.getInputId());
        if (ed) {
            // The body cannot be disabled,
            // So we remove events from the

            tinymce.dom.Event.clear(ed.getBody());
            tinymce.dom.Event.clear(ed.getWin());
            tinymce.dom.Event.clear(ed.getDoc());
            tinymce.dom.Event.clear(ed.formElement);

            ed.onExecCommand.listeners = [];

            // We set the contentEditable to false
            var edIframe = Ext.get(me.getInputId() + "_ifr");
            edIframe.dom.contentDocument.body.contentEditable = false;

            // We disable all tool bar controls
            me.enableEditorControls(false);
        }
    }
function () {
        var me = this;

        var ed = tinymce.get(me.getInputId());
        if (ed) {
            
            

            tinymce.dom.Event.clear(ed.getBody());
            tinymce.dom.Event.clear(ed.getWin());
            tinymce.dom.Event.clear(ed.getDoc());
            tinymce.dom.Event.clear(ed.formElement);

            ed.onExecCommand.listeners = [];

            
            var edIframe = Ext.get(me.getInputId() + "_ifr");
            edIframe.dom.contentDocument.body.contentEditable = false;

            
            me.enableEditorControls(false);
        }
    }
function ( ) { var me = this ; var ed = tinymce . get ( me . getInputId ( ) ) ; if ( ed ) { // The body cannot be disabled,
 // So we remove events from the
 tinymce . dom . Event . clear ( ed . getBody ( ) ) ; tinymce . dom . Event . clear ( ed . getWin ( ) ) ; tinymce . dom . Event . clear ( ed . getDoc ( ) ) ; tinymce . dom . Event . clear ( ed . formElement ) ; ed . onExecCommand . listeners = [ ] ; // We set the contentEditable to false
 var edIframe = Ext . get ( me . getInputId ( ) + "_ifr" ) ; edIframe . dom . contentDocument . body . contentEditable = false ; // We disable all tool bar controls
 me . enableEditorControls ( false ) ; } }
-----------------------------------------------------------------
-----------------------------------------------------------------