<$reveal state=<<qualify "TE">> type="nomatch" text="edit"><$transclude mode="block"/> <$button class="mybuttons" set=<<qualify "TE">> setTo="edit">Edit</$button>
</$reveal>
<$reveal state=<<qualify "TE">> type="match" text="edit"><$transclude tiddler="$:/core/ui/EditTemplate" /> <$button class="mybuttons" ><$action-deletetiddler $tiddler=<<qualify "TE">>/>Show</$button></$reveal>
--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+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9e9c203b-5b95-43c8-8a34-ac0b17a4bf96%40googlegroups.com.
Mark,with the new code I don't get the Edit and Show buttons anymore.12 May 2020, 16:38 by tiddl...@googlegroups.com:
Well, I didn't expect anyone to actually use it...Those are state tiddlers. This version will delete them when you switch back to "show". Be sure to make a backup before trying.<$reveal state=<<qualify "TE">> type="nomatch" text="edit"><$transclude mode="block"/> <$button class="mybuttons" set=<<qualify "TE">> setTo="edit">Edit</$button>
</$reveal>
<$reveal state=<<qualify "TE">> type="match" text="edit"><$transclude tiddler="$:/core/ui/EditTemplate" /> <$button class="mybuttons" ><$action-deletetiddler $tiddler=<<qualify "TE">>/>Show</$button></$reveal>I guess another improvement would be to make them system tiddlers (e.g. $:/temp/TE) so that they don't show up in the "recent" list.On Tuesday, May 12, 2020 at 6:03:11 AM UTC-7, Peter Buyze wrote:Mark,I decided to follow your example and use the "TE" transclusion code that allows inline editing of transclusions.If have noticed that, when I do a transclusion, new tiddlers are formed spontaneously. I have posted 2 of those on my Tiddlyspot site http://peterspottiddly.tiddlyspot.com/The titles are:TE-263800324
TE--733562403
Notice also the single and double dashes.Can these tiddlers be deleted safely? Can they be prevented?--Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
--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+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/545c3de7-4b5e-4e30-821b-3f7e46da9656%40googlegroups.com.
button.mybuttons {
background-color: lightgray;
border: none;
color: white;
padding: 1px 1px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.7em;
}
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/545c3de7-4b5e-4e30-821b-3f7e46da9656%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2cb58237-c9d9-4237-a7f2-6ffee0f2d390%40googlegroups.com.