ractive-json-editor
A JSON tree-ish editor for any old data. Check out the demo.
Getting it
Well for now, you just clone this repo, npm i
, and npm run-script build
.
Usage
Assuming you have something like:
Ractive.components.JsonEditor = JsonEditor;
you can set the root
and whether or not the data is editable
(default true
).
<JsonEditor root="{{some.obj}}" />
<JsonEditor root="{{some.obj}}" editable="false" />