Open logankrause16 opened 5 years ago
This repository is deprecated, you might want to check out the currently maintained repo to see if it addresses your issues.
From the front page:
This repo is no longer maintained (see also https://github.com/jdorn/json-editor/issues/800)
Development is continued at https://github.com/json-editor/json-editor
For details please visit https://github.com/json-editor/json-editor/issues/5
Hello All,
I am running into the issue of the JSONEditor being very very slow. My application works by clicking on an item in a list, and the JSONEditor populates with the selected JSON. I believe I have narrowed it down to the JSONEditor and will provide how I am declaring the items below. I am using this in Angular 7.
Declaration: `public editorList: any[] = []; public editorOptions: JsonEditorOptions; public data: any; @ViewChild(JsonEditorComponent) editor: JsonEditorComponent;
constructor() { this.editorOptions = new JsonEditorOptions(); this.editorOptions.mode = 'code'; }
Use where data is a json object
<json-editor style="background-color: white;" [options]="editorOptions" [data]="data"> ` I have checked and confirmed that this is not a network issue. Once the data is loaded into the editor it takes nearly 5 seconds for the cursor to appear on a clicked line of code. Any help would be great.Thanks.