mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-10 14:29:43 +00:00
![Jermolene](/assets/img/avatar_default.png)
Fixing problems caused by c4b76ceb0b
:
* We still need to initialise the saver-handler even when syncing to a
server, otherwise offline snapshots can’t be saved
* We need to override the default save template a bit further up the
stack, to avoid the server side serving the offline version of the wiki
at `/`
15 lines
670 B
Plaintext
15 lines
670 B
Plaintext
title: $:/core/ui/Buttons/save-wiki
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}
|
|
description: {{$:/language/Buttons/SaveWiki/Hint}}
|
|
|
|
<$button message="tw-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tw-config-toolbar-class>>>
|
|
<span class="tw-dirty-indicator">
|
|
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/core/images/save-button}}
|
|
</$list>
|
|
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
|
|
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
|
|
</$list>
|
|
</span>
|
|
</$button> |