var text = $tw.wiki.getTiddlerText(event.param);$tw.rootWidget.addEventListener("tm-selection", function (event) {
var text = $tw.wiki.getTiddlerText(event.param).substring(this.selectionStart, this.selectionEnd);
alert(text);
});
Hello Andrew, hello to all
Andrew, as this is my first posting, before answering your posting, let me express my appreciation of this whole project and the tremendous work behind. (One part of my life I spend also with programming)
Thank you very much to all.
What I use (want to use) TW5 for I will put in another posting in the non-dev space.
~~
As a newbie to html and javascript I can not give you direct advice.
Just a reference to an already existing example of a tw5 with toolbar I found while searching the net for suitable base tw5s for my own adaption.
Pls refer to http://tw5editor.tiddlyspot.com/
Unfortunately it does not work after upgrade to 5.1.10.
Personally I am answering because I am very interested in such a toolbar (which I hope to be expandable in simple ways by my own buttons calling customized funcationality).
Wolfgang
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/bbd5aa87-2621-4ce3-b28d-dd05228977c2%40googlegroups.com.