From 873ce4823fd60c9ff64f24370898e25855128872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9lumire?= <31185220+Telumire@users.noreply.github.com> Date: Wed, 27 Apr 2022 23:21:59 +0200 Subject: [PATCH] Added a reference to encrypted wiki in "Creating a splash screen" (#6664) A user was wondering how to add a background image to the password screen of an encrypted wiki (https://talk.tiddlywiki.org/t/background-image-on-login-page/3145). It was not obvious that an encrypted wiki is considered as "loading", so I updated this tiddler to hint at this. I also added a hint to the other system tags $:/tags/RawMarkup.. since they can also be used for the same purpose. --- editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid b/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid index bb1934818..334559e60 100644 --- a/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid +++ b/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid @@ -8,7 +8,7 @@ By default, TiddlyWiki displays a blank screen while it is loading. You can add Larger TiddlyWiki files and those loaded over a slow network connection may take a little time to load. Once fully loaded, performance improves, because everything is now running entirely within the browser. Using a splash screen ensures people know the loading process is taking place, reducing the chance they will leave the page. -In order for the splash screen to be displayed before TiddlyWiki is initialised it is embedded as static HTML/CSS within the TiddlyWiki HTML file. This is done with the [[SystemTag: $:/tags/RawMarkupWikified/TopBody]]. +In order for the splash screen to be displayed before TiddlyWiki is initialised or [[decrypted|Encryption]], it is embedded as static HTML/CSS within the TiddlyWiki HTML file. This is done with the [[SystemTag: $:/tags/RawMarkupWikified/TopBody]], or any of the other system tags beginning with $:/tags/RawMarkup. In order to remove the splash screen when the wiki has finished loading, the HTML should be wrapped in a container with the special class `tc-remove-when-wiki-loaded`. Any DOM elements with this class are automatically deleted by the core once the wiki has loaded.