> My only gripe with this Plugin would be that the box “Generate
> external links to files, using this format:” could be made into a
> bigger text area instead of a single line.
The input field provided in the plugin documentation is created by
using
<<option txtFileDropLinkFormat>>
which only displays single-line input.
One way to make that single-line input a bit bigger is to enclose it
in an 'editor' CSS class wrapper, like this:
{{editor{<<option txtFileDropLinkFormat>>}}}
This will cause the input field to be stretched to fill an entire line
by itself, so that there is considerably more space to view the field
content.
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---