Am Dienstag, 28. Januar 2014 07:46:50 UTC+1 schrieb Danielo Rodríguez: > > Hello Stephan, > > Yes, macros in javascript are easy. If you suggest that I can accomplish > what I'm looking for with that kind of implementation I don't figure how to > do it. > I'm not sure exactly what you want to accomplish. If you want to implement what I did, like inserting code for "bold", I think it might become a bit difficult. The bookmarklets have the advantage that they can esily find the input element having the focus, as the focus is not shifted away when you select a bookmark. But if you want to add a button to the wiki to accomplish that, the button will get the focus. So you need to find the input element the button should modify. At the moment I have no idea how to safely do that.
> the difficult part is maybe understanding the whole picture of TW and it's > flow. Maybe to a person used to it or for Jeremy is logical, but for me it > is a bit twisted. > Trust me: I also don't understand the whole picture. If you search in the groups or github you will find several examples of Jeremy explaining to me that something can't work the way I tried to get it to work, as it will break the TW logic. Most prominent example is my replacePragma… -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

