Hey,
I was thinking about adding a button to the new editor toolbar where I can
browse for local files to add them as an [ext[...|...]] link.
I would suggest a dropdown with a browse for file button and an editor
field to name the link:
<input type="file">
<input type="text">
For the Javascript part I found this code:
function processSelectedFiles(fileInput) {
var files = fileInput.files;
for (var i = 0; i < files.length; i++) {
alert(files[i].name);
}
}
My problem is my lack of javascript skills and in fact I'm not deep enough in
the tw core.
Does anyone have an idea how to implement this, maybe as a plugin?
Regards,
The BO
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/338c9fcd-4b73-44f1-838b-839ae8753ddf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.