UNPKG

json-editor

Version:
12 lines (11 loc) 223 B
JSONEditor.defaults.editors["null"] = JSONEditor.AbstractEditor.extend({ getValue: function() { return null; }, setValue: function() { this.onChange(); }, getNumColumns: function() { return 2; } });