Added to TW-Scripts.

On Thursday, April 30, 2020 at 7:06:17 PM UTC+4:30, Mark S. wrote:
>
>
>
> This is a simple one that I use sometimes. I put this in a tiddler with a 
> short name like "TE". 
>
> <$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" set=<
> <qualify "TE">> setTo="show">Show</$button></$reveal> 
>
> Then when I make an excision, I add the template:
>
> {{My excision||TE}}
>
>
> I'm sure someone could come up with a better one. Like where all the text 
> would be lightly highlighted until you clicked on it. That would be neat.
>
> HTH
>
>
>
>
>
> On Thursday, April 30, 2020 at 7:17:45 AM UTC-7, Ed Heil wrote:
>>
>> This is something that often happens to me: I want to update text in a 
>> tiddler, and when I get in there, I see that text is actually a 
>> {{transclusion}} -- possibly one I made using excision.  Now I have to 
>> remember what the name of the transclusion is, close the tiddler, go to the 
>> search bar, put in the name of the transclusion, find it and go edit it.
>>
>> It feels like this is high-friction.  Am I missing something that would 
>> make it easier?
>>
>> I seem to remember there's a built-in template which shows that something 
>> is a transclusion, that I maybe could use instead of plain transclusion.  I 
>> can't find it right now.  But I remember it was pretty loud/visually 
>> obtrusive and was not something I would want to use in most cases.
>>
>> I could write my own transclusion template which includes the transcluded 
>> content, plus an unobtrusive link to the tiddler being transcluded, so I 
>> could quickly go there and edit it.  It just feels like this is a common 
>> enough problem that there might be a built-in solution I'm not aware of, 
>> and I thought I'd ask before rolling my own.
>>
>

-- 
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/4227b63d-a68d-4420-9272-39b6bb81020d%40googlegroups.com.

Reply via email to