ng-jsoneditor
ng-jsoneditor copied to clipboard
Fix a jsoneditor object recreation when there a "modes" or "ace" option
There is a === check, which always fails for arrays and objects. When you specify "modes" (array) or "ace" (object) option, this will cause to almost always recreating jsoneditor object. In my case, it lead to empty object showing after mode switching via jsoneditor interface.