Skip to content

Allow for re-importing content #2

@JJediny

Description

@JJediny

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions