Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for re-importing content #2

Open
JJediny opened this issue Nov 2, 2016 · 0 comments
Open

Allow for re-importing content #2

JJediny opened this issue Nov 2, 2016 · 0 comments

Comments

@JJediny
Copy link
Member

JJediny commented Nov 2, 2016

The original json-editor project this is based on - demo here. Allows for the updating the of the json output text area to update the fields in the form dynamically. In order to make this editor practical; opencontrol content previously generated by the editor should be able to be reimported and injected back into the form so users can make updates/additions.

the yaml2json.js and json2yaml.js assets are already available; there just needs to be some javascript added to trigger the existing watch function on the text area seen when generate button is clicked - with an update/import function that adds the additional step to convert the yaml back into json - which the editor is using in the background for both the form's structure (json schema) and the content in the DOM (json).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant