[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Charlie Veniot
That's good stuff!

On Friday, August 27, 2021 at 10:55:32 PM UTC-3 TW Tones wrote:

> I add the edit icon to other lists so I can edit a tiddler !
>
> {{||$:/core/ui/Buttons/edit}} <$link/>
>
> Tones
> On Saturday, 28 August 2021 at 11:51:10 UTC+10 Eric Shulman wrote:
>
>> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:
>>
>>> Simple ways to write protect tiddlers 
>>> 
>>>
>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/af6928d1-f40d-4fa5-8132-0e50bca6ff80n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Charlie Veniot
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 cj.v...@gmail.com wrote:
>
>> Simple ways to write protect tiddlers 
>> 
>>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5caf0224-d956-49c6-91e9-19b273747e23n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread TW Tones
I add the edit icon to other lists so I can edit a tiddler !

{{||$:/core/ui/Buttons/edit}} <$link/>

Tones
On Saturday, 28 August 2021 at 11:51:10 UTC+10 Eric Shulman wrote:

> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:
>
>> Simple ways to write protect tiddlers 
>> 
>>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a711b5e9-c06e-4fe0-ab03-82c67dceff2an%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Eric Shulman
On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:

> Simple ways to write protect tiddlers 
> 
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d7c34ff-a763-4273-82d7-3b5aa010f32en%40googlegroups.com.