Hello everyone, 

First of all thank you very much for taking the time to answer me, second 
of all my apologies for answering so late.

*Fred*,  for now instead of a macro I proceed as follow (online demo here 
<https://frontenddevweb.github.io/#:[tag[edit-transclusion]]>) :

In the tiddler transcluded I want to make editable,  I put {{||edit}} at 
the end of the tiddler.
The tiddler edit contains the following code : 

<span class="hide-until-hover"> {{||$:/core/ui/Buttons/edit}} </span>

And with a bit of CSS magic I got what I want, except it's not automatic of 
course and it doesnt work in edit mode. 
I think I will follow your advice and repurpose the paragraph macro, this 
seems like the easiest workaround.

*Ste*, I think you are refering to this : 
https://tobibeer.github.io/tw5-plugins/#inc-Examples , this is a great 
macro however it only work in view mode. My workaround is worse tho, so 
until I find something better I think I'll use his plugin.

*Tones*, this is a great suggestion and IMO is better than a macro, while 
being also limited to the view mode. I tried to follow your explanation and 
got this : https://frontenddevweb.github.io/#:[tag[TW%20Tones]]
Is that what you had in mind ?

*si*, I stumbled upon it as well yesterday, this is great ! That would be 
perfect. This ticket was made a year ago however so I really hope the 
author will eventually add it.

Once again, thanks you all for your help.
Le samedi 12 juin 2021 à 20:22:24 UTC+2, si a écrit :

> >>> CodeMirror is able to parse links, so maybe someone made an addon 
> build upon it allowing this functionnality ? I searched but ultimately 
> found nothing .. 
>
> I'm not aware of any currently existing plugin, but CodeMirrorPlus has an 
> open ticket for adding clickable links in edit mode: 
> https://github.com/adithya-badidey/TW5-codemirror-plus/issues/6
>
> On Friday, 11 June 2021 at 00:33:53 UTC+1 Télumire wrote:
>
>> Hello everyone!
>>
>> Does anyone know if there is a plugin that turn a transclusion into a 
>> clickable link to the tiddler transcluded, in edit mode?
>>
>> The process would be as follows: 
>>
>> I want to edit a tiddler (A). When the editor opens, I see that I have 
>> transcluded another tiddler (e.g. {{B}}) inside the tiddler A. 
>>
>> I want to edit what is in B, so rather than copy/paste the title of 
>> tiddler B into the search bar, click on the relevant tiddler in the search 
>> result, then edit the tiddler B, this plugin would allow me to simply click 
>> on {{B}}, which open the tiddler B, ideally already in edit mode. This 
>> would save a lot of time !
>>
>> CodeMirror is able to parse links, so maybe someone made an addon build 
>> upon it allowing this functionnality ? I searched but ultimately found 
>> nothing ..
>>
>> PS : I know that it's possible to use a macro instead of a standard 
>> transclusion (like discussed here 
>> https://tiddlywiki.narkive.com/dxOiR2Vn/tw-tw5-including-a-link-when-transcluding)
>>  
>> but I dont want to change the way the tiddler is displayed in view mode.
>>
>>
>>

-- 
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/adbfb4b1-fb45-4eaa-a20b-895743f349f0n%40googlegroups.com.

Reply via email to