SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

Create a set of non-default buttons within the toolbar #166

Open SimonBiggs opened 6 years ago

SimonBiggs commented 6 years ago

Create two new buttons that do not show by default, "save" and "edit".

Save will download a json file containing variable values and the template text. The edit this template will take you to the JupyterLab markdown file editor.

Create a "settings" element that enables the setting of these toolbar buttons.

<scriptedforms-settings>
{
  "toolbar": [
    "docs", "print", "restart", "edit", "save"
  ]
}
</scriptedforms-settings>

Use the "edit" option on the mybinder examples.