2021-09-12 09:48:17 +00:00
|
|
|
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.
|
2022-04-05 15:48:07 +00:00
|
|
|
<p>You will need to view the page source in your browser. Then go to the very bottom the the source, find the last `<script>`
|
2021-09-12 09:48:17 +00:00
|
|
|
element, and right-click its `src` URI. Save the link as ''$(jsFileName)$''</p>
|
|
|
|
\end
|
2022-04-05 15:48:07 +00:00
|
|
|
\rules except wikilink
|
|
|
|
\whitespace trim
|
2021-09-12 09:48:17 +00:00
|
|
|
|
|
|
|
''For advanced users''
|
|
|
|
|
2022-04-05 15:48:07 +00:00
|
|
|
Export the TiddlyWiki core JavaScript code for running with external JavaScript:
|
2021-09-12 09:48:17 +00:00
|
|
|
|
2022-04-05 15:48:07 +00:00
|
|
|
<$button
|
|
|
|
tooltip="Export the TiddlyWiki core code for running with external JavaScript"
|
|
|
|
aria-label="export TiddlyWiki core"
|
|
|
|
class="tc-btn-big-green">
|
|
|
|
<$list
|
|
|
|
filter="[[$:/boot/boot.js]is[missing]]"
|
|
|
|
variable="ignore"
|
|
|
|
emptyMessage="<$action-sendmessage $message='tm-download-file' $param='$:/core/templates/tiddlywiki5.js' filename=<<jsFileName>>/>" >
|
2021-09-12 09:48:17 +00:00
|
|
|
<$action-setfield $tiddler=<<qualify "$:/temp/alert">> text=<<noExportMsg>> subtitle="Export ~TiddllyWiki Core"/>
|
|
|
|
<$action-sendmessage $message="tm-modal" $param=<<qualify "$:/temp/alert">>/>
|
|
|
|
</$list>
|
2022-04-05 15:48:07 +00:00
|
|
|
{{$:/core/images/download-button}}
|
|
|
|
 
|
|
|
|
Download TiddlyWiki core
|
2021-09-12 09:48:17 +00:00
|
|
|
</$button>
|
|
|
|
|
|
|
|
[[Further information|https://tiddlywiki.com/#Using%20the%20external%20JavaScript%20template]]
|