Improve offline saving with TiddlyWeb

Now the usual “save changes” button in the sidebar will save an offline
copy of the wiki that excludes the TiddlyWeb plugin. Previously, this
functionality was only available in the control panel, leading to
several problems such as that discussed here:

https://groups.google.com/d/topic/tiddlywikidev/U61pO-TR854/discussion
print-window-tiddler
Jermolene 2014-08-19 12:20:26 +01:00
rodzic 920e11e792
commit c4b76ceb0b
3 zmienionych plików z 1 dodań i 10 usunięć

Wyświetl plik

@ -18,9 +18,3 @@ Host configuration: <$edit-text tiddler="$:/config/tiddlyweb/host" tag="input" d
----
<$button message="tw-server-refresh" class="btn btn-warning">Refresh</$button> to fetch changes from the server immediately
----
Download an offline copy of this wiki:
{{$:/editions/server/download-offline-button}}

Wyświetl plik

@ -1,3 +0,0 @@
title: $:/editions/server/download-offline-button
<$button message="tw-download-file" param="$:/editions/server/download-offline" class="btn-big-green">Download Offline Snapshot {{$:/core/images/save-button}}</$button>

Wyświetl plik

@ -1,4 +1,4 @@
title: $:/editions/server/download-offline
title: $:/core/save/all
\define saveTiddlerFilter()
[is[tiddler]] -[[$:/boot/boot.css]] -[[$:/HistoryList]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] +[sort[title]]