Hi Ton,
thanks, this looks like the perfect solution.
Cu
Jonathan
Von: Ton Gerner [mailto:ton.ger...@gmail.com]
Gesendet: Samstag, 26. September 2015 16:25
An: TiddlyWiki < >
Cc: jonathanh...@wolke7.net <mailto:jonathanh...@wolke7.net>
Betreff: Re: [TW5] Hide the edit button in tagged tiddlers
Hi Jonathan,
You can style certain tagged tiddlers in a special way
<http://tiddlywiki.com/#How%20to%20apply%20custom%20styles%20by%20tag> , see
So, if these tiddlers are tagged 'locked' you can create tiddler e.g. Locked
style, tagged with $:/tags/Stylesheet and containing:
.tc-tagged-locked svg.tc-image-edit-button {
display: none;
}
This does the trick.
Cheers,
Ton
On Saturday, September 26, 2015 at 3:16:36 PM UTC+2, Jonathan Haug wrote:
Dear all,
could someone help me with the following task:
I want to *hide the edit button* in some specific tiddlers, which I
marked with the tag "locked".
This is to prevent accidental editing of important content.
Use case: I want to build a knowledge base wiki for multiple users. Most
tiddlers should be free to edit, but some tiddlers are reserved for
critical informations which should not be edited.
I'm aware of the fact, that this is not a perfect protection, but that
would be fine for me.
The tiddlywiki-html-file resides on a shared folder within a
Windows-Network.
So, my question is: How do I hide the edit button on *some* tiddlers?
Thanks in advance
Jonathan
--
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/010301d0f8a6%24ba6bf040%242f43d0c0%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.