We are adding the 'jsoneditor-readonly' class to make the jsoneditor look like mode=code, but readOnly.
It would be nice if there was a proper way to accomplish this, as well as to specify a readOnly theme. For example, I would love to use eclipse theme for regular code mode, and then dawn theme for code mode which would then be readOnly=true...
One can see here that the Ace editor has readOnly as an option. It would be nice if this was also available in the jsoneditor.
We are adding the 'jsoneditor-readonly' class to make the jsoneditor look like mode=code, but readOnly.
It would be nice if there was a proper way to accomplish this, as well as to specify a readOnly theme. For example, I would love to use eclipse theme for regular code mode, and then dawn theme for code mode which would then be readOnly=true...
One can see here that the Ace editor has readOnly as an option. It would be nice if this was also available in the jsoneditor.