FlexiJsonEditor icon indicating copy to clipboard operation
FlexiJsonEditor copied to clipboard

Add option to toggle in-line edditing on/off in JsonEditor

Open ghost opened this issue 11 years ago • 2 comments

Hi, I modified the jquery.jsoneditor.js script to optionally make the fields that display the JSON structure not-modifiable. Also I changed jsoneditor.js and jsoneditor.html to utilize this option. It's a great addition if you wan't only to display a beautified JSON but not modify it.

It looks like this, not very distinguishable, but the input fields are disabled

screenshot from 2014-05-12 16 05 45

Also changed the jQuery script from 1.6 to 2.1.1, jquery.jsoneditor.js was failing because of the .on method currently on line 53 in my branch

Cheers

ghost avatar May 12 '14 14:05 ghost

+1 works like a champ and is exactly the little bit I was after when I stumbled upon this beauty...

mhwest13 avatar Jul 02 '14 07:07 mhwest13

:+1: makes a beautiful editor double as a beautiful visualizer

jberger avatar Feb 08 '15 05:02 jberger