json-editor icon indicating copy to clipboard operation
json-editor copied to clipboard

Performance issues in IE 11

Open azhuravs opened this issue 7 years ago • 1 comments

Any ideas why setting value to editor in IE 11 editor.setValue(configurationJSON); takes a lot of time (16 sec in my case) against miliseconds in Chrome and FF?

    //Init JSON Editor
    var editor = new JSONEditor(document.getElementById('editor_holder'), {
        ajax: false,
        disable_properties: true,
        disable_array_reorder: true,
        disable_edit_json: true,
        schema: schema
    });

    editor.on('ready', function () {
        reload();
    });

     var reload = function () {
         var configurationJSON = JSON.parse('json val');
        editor.setValue(configurationJSON);
    }

azhuravs avatar Mar 11 '17 11:03 azhuravs

Same issue! Ever find a solution @azhuravs?

corykon avatar Feb 09 '18 22:02 corykon