From fba993502d9c3d453dd765cc7703a104f2527c9b Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 12 Sep 2021 10:48:17 +0100 Subject: [PATCH] Revert some of the UI changes for downloading external-js See https://github.com/Jermolene/TiddlyWiki5/pull/5570#issuecomment-892127428 --- core/language/en-GB/Buttons.multids | 2 - core/ui/ExportTiddlyWikiCore.tid | 22 +++++++++++ .../ui/PageControls/export-tiddlywikicore.tid | 21 +++++----- core/wiki/config/PageControlButtons.multids | 1 - core/wiki/tags/PageControls.tid | 2 +- ...Using the external JavaScript template.tid | 39 +++++++++++-------- languages/ca-ES/Buttons.multids | 2 - languages/zh-Hans/Buttons.multids | 2 - languages/zh-Hant/Buttons.multids | 2 - ...syncer-actions-download-tiddlywikicore.tid | 7 ---- .../tiddlyweb/tags-syncerdropdown.tid | 2 +- 11 files changed, 55 insertions(+), 47 deletions(-) create mode 100644 core/ui/ExportTiddlyWikiCore.tid delete mode 100644 plugins/tiddlywiki/tiddlyweb/syncer-actions-download-tiddlywikicore.tid diff --git a/core/language/en-GB/Buttons.multids b/core/language/en-GB/Buttons.multids index e1b2b1372..83598f410 100644 --- a/core/language/en-GB/Buttons.multids +++ b/core/language/en-GB/Buttons.multids @@ -32,8 +32,6 @@ ExportTiddler/Caption: export tiddler ExportTiddler/Hint: Export tiddler ExportTiddlers/Caption: export tiddlers ExportTiddlers/Hint: Export tiddlers -ExportTiddlyWikiCore/Caption: export TiddlyWiki core -ExportTiddlyWikiCore/Hint: Export the ~TiddlyWiki core code for running with external ~JavaScript SidebarSearch/Hint: Select the sidebar search field Fold/Caption: fold tiddler Fold/Hint: Fold the body of this tiddler diff --git a/core/ui/ExportTiddlyWikiCore.tid b/core/ui/ExportTiddlyWikiCore.tid new file mode 100644 index 000000000..a6bb68c13 --- /dev/null +++ b/core/ui/ExportTiddlyWikiCore.tid @@ -0,0 +1,22 @@ +title: $:/core/ui/ExportTiddlyWikiCore + +\define jsFileName() tiddlywikicore-$(version)$.js +\define noExportMsg() +It appears that you have a wiki with an external ~TiddlyWiki core. The export action cannot be performed. +

You will need to view the page source in your browser. Then go to the very bottom the the source, find the last `