Hello everyone!
For the moment, it shows the notification "Saved wiki", but nothing else append. (no download, no error as well)
The first thing I tried was to check how `$:/core/ui/Buttons/save-wiki` is implemented.
I ended up with this:
<$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}>
<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
</$wikify>
Which works, as if I save it as a tiddler, it actually asks me to download the wiki.
But if I try to invoke it using JS `invokeActionString()` it only shows the notification and doesn't prompt for download.
Is there an inherent difference between executing tiddlytext in a tiddler or invoking it from JS?
I also tried sending the message directly from JS `$tw.rootWidget.dispatchEvent('tm-save-wiki')`
I tried to fiddle a bit with parameters, but the doc says its two parameters are optional, so I guess the problem is somewhere else.
If anyone can shine some light on this issue, I'll be grateful.
Thanks!
Souk21