I’m sure this is a simple question, but I can’t find the state of “is the wiki dirty” anywhere. I’ve searched for “dirty” and “save” across system and shadow tiddlers.
Correct, that filter will always return a result if a tiddler has changed since the wiki started. If you want to track the actual dirty status - that it resets when the wiki is saved - I do not think we have a wikitext affordance for it.
if it helps, a dirty wiki has the class tc-dirty applied to the body of the document.
@saqimtiaz@TW_Tones So, if I have an element, in my case I want to display a message in a specific tiddler, that only appears when the wiki is dirty, for example:
<div class="dirtymessage">
To be safe, save changes before generating timelines. Do not risk losing your work.
.</div>
I could use CSS to control if this message is displayed?