Thanks for your quick answer :)
I can get it to work from my browser's Web Console with both:
$tw.rootWidget.dispatchEvent({
type: 'tm-save-wiki',
});
and
$tw.rootWidget.invokeActionString(`<$wikify name="site-title"
text={{$:/config/SaveWikiButton/Filename}}>
<$action-sendmessage $message="tm-save-wiki"
$param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
</$wikify>`)
Unfortunately, for some reason,I doesn't work when called from my code.
I'm at a loss here...
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/ef3e82fe-7c9a-4d80-b5ff-b2a4437bb4d2o%40googlegroups.com.