ng-jsoneditor
ng-jsoneditor copied to clipboard
User shouldn't be able Insert fields when onEditable option is false
Set onEditable to false.
$scope.obj = {
data: json,
options: {
mode: 'tree',
onEditable: function(){return false;}
}
};
Click on the box [ ] to the left of a key and then select insert. Right now, a blank field and value are inserted. Warning signs are displayed without any capabilities to resolve since json is readonly.

same here !