Do you know how to disable the plugin when I double click the title? Some time I just want to copy the title not edit the whole tiddler, I double click the title to select it. But now will trigger the edit command
On Tuesday, September 14, 2021 at 10:12:38 PM UTC+8 cj.v...@gmail.com wrote: > Oh good. Big sigh of relief over here. *(I may have had "look, see, it > works" moments while people politely nod in agreement while awkwardly > hoping somebody else lifts a hand and breaks the news...)* > > On Tuesday, September 14, 2021 at 11:03:13 AM UTC-3 strikke...@gmail.com > wrote: > >> cj.v, >> Thank you. I does work for me too now. It was of course an error on my >> part - not identifying my own typo. It seems no matter how many times we >> look our writing through- eyes popping out, errors are often not found. I >> call it TW eye fatigue. >> >> Thank you, >> Birthe >> >> On Tuesday, September 14, 2021 at 2:58:26 PM UTC+2 cj.v...@gmail.com >> wrote: >> >>> Just to answer your first question, you want to modify the ViewTemplate >>> in your TiddlyWiki that has the plugin. (screenshot below) >>> >>> Also, after you've edited the plugin, you have to make sure to save and >>> reload the TiddlyWiki for the change to take effect. >>> >>> I just tested this again, and it all works A-1. Double-clicking on any >>> tiddler just opens that one tiddler for edit. Double-clicking on either a >>> shadow or a system tiddler does nothing. >>> >>> Just as a sanity check, download an empty TiddlyWiki, install the plugin >>> in that TiddlyWiki, and see if things work correctly there. >>> >>> I suspect you made a change to the plugin's javascript and also made >>> this edit I suggest to the ViewTemplate. >>> >>> If you did change the javascript, you should probably remove the plugin >>> and reinstall. >>> >>> [image: Screenshot 2021-09-14 9.51.20 AM.png] >>> >>> On Tuesday, September 14, 2021 at 6:38:26 AM UTC-3 strikke...@gmail.com >>> wrote: >>> >>>> Charlie - editing the viewtemplate lead to another problem - 2 click on >>>> one tiddler open all standard tiddlers for edit. >>>> On Tuesday, September 14, 2021 at 11:29:20 AM UTC+2 >>>> strikke...@gmail.com wrote: >>>> >>>>> You find the viewtemplate in .Danielos 2click2edit plugin >>>>> <https://danielorodriguez.com/TW5-2click2edit/#%24%3A%2Fplugins%2Fdanielo515%2F2click2edit> >>>>> >>>>> On Tuesday, September 14, 2021 at 10:36:23 AM UTC+2 imleg...@gmail.com >>>>> wrote: >>>>> >>>>>> thank you. Can you give me a link about the viewtemplate, cuz I can't >>>>>> find it on google. >>>>>> >>>>>> And why we put a "<$click>" here >>>>>> >>>>>> On Monday, September 13, 2021 at 12:50:49 AM UTC+8 cj.v...@gmail.com >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Instead of altering the javascript, give what's in the screenshot >>>>>>> below a try. >>>>>>> >>>>>>> Do note: for the change to take effect, you do have to save and >>>>>>> reload your TiddlyWiki. >>>>>>> >>>>>>> [image: Screenshot 2021-09-12 1.48.30 PM.png] >>>>>>> >>>>>>> On Sunday, September 12, 2021 at 12:34:03 PM UTC-3 >>>>>>> imleg...@gmail.com wrote: >>>>>>> >>>>>>>> I installed the tiddler 2click2edit. I want to change it a little >>>>>>>> that when a tiddler start with the "$", don't trigger the edit >>>>>>>> command. >>>>>>>> >>>>>>>> I already found the related code. Which >>>>>>>> is $:/plugins/danielo515/2click2edit/ClickListener.js >>>>>>>> >>>>>>>> I think I need to change the code >>>>>>>> >>>>>>>> ``` >>>>>>>> ClickListener.prototype.editTiddler = function(event) { >>>>>>>> //alert(this.getVariable("currentTiddler").getTitle()); >>>>>>>> this.dispatchEvent({type: "tm-edit-tiddler", param: >>>>>>>> this.getVariable("currentTiddler")}); >>>>>>>> }; >>>>>>>> ``` >>>>>>>> >>>>>>>> But this.getVariable("currentTiddler").getTitle() seems not right, >>>>>>>> how to fix it. >>>>>>>> >>>>>>>> And is there a manual for program for tw? >>>>>>>> >>>>>>> -- 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/8fd8a11f-84b6-4f61-bebc-4d180008b0f2n%40googlegroups.com.