cheminfo / nmrium

React component to display and process nuclear magnetic resonance (NMR) spectra.
https://docs.nmrium.org
MIT License
55 stars 25 forks source link

Simple way to create example #262

Closed lpatiny closed 4 years ago

lpatiny commented 4 years ago

Adding an import icon over the save icon:

image

One (and currently only) submenu will be:

There should be a dialog box allowing to paste an absolute OR relative URL.

The full idea behind this feature is to easily create examples ...

hamed-musallam commented 4 years ago

@lpatiny we need to discuss further more in this feature, because i need to look how we can move the the selected jcamp file to public folder under specific folder.

lpatiny commented 4 years ago

The goal is not to save the resulting json file in the right folder. It is just to keep the jcampURL if it is available when creating the json file (saving). It is easy for me to save (CTRL+S) and then take this json and move it in the data folder I want. I need to create some examples with 2D spectra and this feature would really be useful.