Thanks a lot! It was enough and I got the idea. I'm now able to achieve what I want.
I did not know one could so easily create own functions that react to sendmessage. I was afraid I would have to modify the core and create own event listeners etc. which is currently out of my abilities. Now I was able to create a function that operates "inside" tm-edit-text-operation. I suppose it would similarly be possible to react to custom created messages as well, e.g. tm-user-specified-message? Pekka On Friday, September 17, 2021 at 10:20:33 AM UTC+3 PMario wrote: > The prerelease contains a new HowTo: > https://tiddlywiki.com/prerelease/#How%20to%20create%20dynamic%20editor%20toolbar%20buttons > > which shows how to create new toolbar buttons. ... The messages used by > those buttons are created with module-type: texteditoroperation JS function. > > -mario > > > -- 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/6744aa3c-fdd4-4fcd-8533-8d7cc34dc68an%40googlegroups.com.

