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/21ebc62d-eaf4-4109-a7e6-aa679d90ac54n%40googlegroups.com.