Hi Rick > I just assumed that TiddlyWiki simply used the default page saving mechanism of each browser (the equivalent of just manually choosing "Save page as..." in the browser menu).
The file/save action isn't available to JavaScript code. As you've discovered, on most browsers it saves a copy of the original document, and doesn't incorporate any "live" changes to the DOM. The default technique used to save changes is to prompt the browser to download a modified copy of the HTML file. It works pretty well on all HTML5 browsers, but isn't wildly convenient, as it requires several clicks to complete a save. Here's a simple demo app that shows the technique: https://github.com/Jermolene/FileSavingDemo And here's the relevant code inside TW5: https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/savers/msdownload.js We have various extensions such as TiddlyFox and TiddlyDesktop that provide more efficient ways to save changes, including a plugin for IE called TiddlyIE. See http://tiddlywiki.com for details. Best wishes Jeremy. On Sat, May 23, 2015 at 3:29 PM, Danielo Rodríguez <[email protected]> wrote: > When you click save don't you get a new file download? That's the regular > way of saving. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywikidev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/39563ea4-9918-41d3-b609-231b1545d614%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAPKKYJYSfK7%3DsNbDBr8ztt-jvPBr-6VLCrX0wtN0YaKK-JNv5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
