Well, at first I was doing as per the documentation ("*To get it back you
will need to open the stylesheet tiddler and change "none" to "inline".*")
At the moment, I find it more convenient to just keep that css in a
dedicated CSS tiddler. When I want to turn off locking, I just take the
"$:/tags/Stylesheet" tag off that stylesheet tiddler.
It would be easy to setup something fancier and super-convenient/easy, but
I don't really want it super convenient/easy.
On Friday, August 27, 2021 at 10:51:10 PM UTC-3 Eric Shulman wrote:
> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 [email protected] wrote:
>
>> Simple ways to write protect tiddlers
>> <https://tiddlywiki.com/#Simple%20ways%20to%20write%20protect%20tiddlers>
>>
> To write-protect a tiddler, I'm thinking a good idea to not just prevent
>> edit of such a tiddler, but also prevent delete of such a tiddler.
>> I've added a little bit to the original sample code in that documentation
>> tiddler:
>> .tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
>> .tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}
>>
>
> Question:
> Let's suppose you lock a tiddler by adding the "Locked" tag and then you
> need to make changes (e.g., fixing a typo).
> How would you unlock the tiddler, since you can't edit it to remove the
> "Locked" tag?
>
> -e
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5caf0224-d956-49c6-91e9-19b273747e23n%40googlegroups.com.