I really should find a better way to do this. It’s confusing!
I’m mostly concerned about option 4, saving the SVG file.
I should take a look at how Tiddly Wiki does saving. They must run into the same problems. I guess they do. Perhaps I can use some of their wording.