static/admin/TinyMCETextArea.js
function () {
        var me = this;

        var wwg_mode = false;

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

        if (me.wysiwygIntialized) {
            if (ed && !ed.isHidden()) { wwg_mode = true;}
        }

        var ctrl = document.getElementById(me.getInputId());

        if (wwg_mode) {
            me.storedCursorPosition = ed.selection.getBookmark('simple');
        }
        else if (ctrl) {
            me.storedCursorPosition = me.positionBeforeBlur;
        }
    }
function () {
        var me = this;

        var wwg_mode = false;

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

        if (me.wysiwygIntialized) {
            if (ed && !ed.isHidden()) { wwg_mode = true;}
        }

        var ctrl = document.getElementById(me.getInputId());

        if (wwg_mode) {
            me.storedCursorPosition = ed.selection.getBookmark('simple');
        }
        else if (ctrl) {
            me.storedCursorPosition = me.positionBeforeBlur;
        }
    }
function ( ) { var me = this ; var wwg_mode = false ; var ed = tinymce . get ( me . getInputId ( ) ) ; if ( me . wysiwygIntialized ) { if ( ed && ! ed . isHidden ( ) ) { wwg_mode = true ; } } var ctrl = document . getElementById ( me . getInputId ( ) ) ; if ( wwg_mode ) { me . storedCursorPosition = ed . selection . getBookmark ( 'simple' ) ; } else if ( ctrl ) { me . storedCursorPosition = me . positionBeforeBlur ; } }
-----------------------------------------------------------------
-----------------------------------------------------------------