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 [email protected] 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a4a959a-a1b0-4a0c-aed1-c7db7460b1b2n%40googlegroups.com.

Reply via email to