Closed hrgdavor closed 4 months ago
Sounds good. You might want to evaluate whether copying into address bar is more intuitive for you. You can see what I mean by clicking on "Share" button on GraphvizFiddle and watch address bar: https://stamm-wilbrandt.de/GraphvizFiddle/ It copies current .dot file from editor window into URL, so that it can be shared or stored (urlencoded).
That is one possible option, I am now thinking for save button and ctrl+s shortcut to have multichoice
This is WIP, and I have not decided on final details
I forgot one plus point of "save to address bar" — you can easily create a bookmark from that URL.
implement share url function to export current script as gzipped data url
inital lame version adds a menu item to export
copies the url to clipboard, and writes url to console
todo