/ Decorator
        var decorator = $('.code-editor').data('ace')
        // ACE Code Editor instance
        if (decorator != null) {
            var editorSession = decorator.editor.ace.getSession()
            return editorSession.setMode("ace/mode/"+lang);
        } else {
            return null
        }
    }

    function get_editor_value() {
        var decorator = $('.code-editor').data('ace')
        var aceInstance = decorator.editor.ace
        return aceInstance.getValue()
    }

    // https: