On Oct 9, 11:42 am, Eric Shulman <[email protected]> wrote: > Another way would be to use HTML to render a 'textarea' control that > explicitly updates the corresponding internal value, like this: > ---------------------------------- > {{editor{<html><nowiki><textarea rows="5" onchange=" > config.macros.option.propagateOption( > 'txtFileDropLinkFormat','value', > this.value.escapeLineBreaks(),'input'); > "></textarea></html><<tiddler {{ > var ta=place.lastChild.getElementsByTagName('textarea')[0]; > var v=config.options.txtFileDropLinkFormat.unescapeLineBreaks(); > ta.value=v; // init field value > "";}}>>}}} > ---------------------------------- > > To make this syntax easier to put where you want it, simply place it > into a separate tiddler (e.g., [[SetDropLinkFormat]]), and then you > can embed it using: > <<tiddler SetDropLinkFormat>> > > enjoy, > -e
Thanks Eric. I used your last suggestion i.e. to put that code into a Tiddler named SetDropLinkFormat and then embed it using <<tiddler SetDropLinkFormat>>. I think that’s the best for me. Thanks again for all your help, O.O. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~----------~----~----~----~------~----~------~--~---

