Re: [tw5] Import as external files (Node.js)

2021-05-21 Thread Nathan Sain
Thanks for pointing me in the right direction. I was using 5.1.22. After upgrading to 5.1.23 I can use the pencil edit button. I think I'm ready to start adding external images now. Thanks again for your help and the plugin! On Thursday, May 20, 2021 at 11:21:57 PM UTC-5 saq.i...@gmail.com

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Saq Imtiaz
@Nathan what version of TW are you using? You need 5.1.23+ [image: Screenshot 2021-05-21 062059.png] If you are using 5.1.23, close the preview to see the "pencil" edit button to rename the image being imported. On Thursday, May 20, 2021 at 11:43:01 PM UTC+2 natha...@gmail.com wrote: > Thanks

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Nathan Sain
Thanks for your help. I thought the import UI would have the ability to name the imported tiddler. I checked the TiddlyWiki docs and only find this page dealing with tiddler imports https://tiddlywiki.com/#Importing%20Tiddlers but it doesn't contain any information about naming tiddlers on

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Saq Imtiaz
The import UI lets you rename the file before you import. Remember to include the file extension in the name. Once the file has been saved in the files/ folder there is no further affordance for renaming it. On Thursday, May 20, 2021 at 10:49:32 PM UTC+2 natha...@gmail.com wrote: > Thanks for

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Nathan Sain
Thanks for that. After restarting the node.js server I was able to import an image as an _canonical_uri linked file. The file was named files/image.png. Is there a way to rename the file or choose the file name on import? Regards, Nathan On Thursday, May 20, 2021 at 11:54:49 AM UTC-5

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Saq Imtiaz
Nathan, have you restarted the node.js server after installing the plugin? If so, check the browser console for any error messages. On Thursday, May 20, 2021 at 6:45:45 PM UTC+2 natha...@gmail.com wrote: > Saq, I've installed this plugin in my node.js TW. I can see the additional > check boxes

Re: [tw5] Import as external files (Node.js)

2021-05-20 Thread Nathan Sain
Saq, I've installed this plugin in my node.js TW. I can see the additional check boxes on the import tiddler and there is an additional 'Save as external file' button on my tiddlers. Unfortunately, when I drag / drop images or copy / paste images an external file is not created nor is the

Re: [tw5] Import as external files (Node.js)

2021-04-10 Thread Saq Imtiaz
Hi Peter, > This would mean: when I drag an image or PDF (prio 1 and 2 for me) into > TW, a tiddler opens (as now) but the binary is stored to the default media > folder and the tiddler contains the canonical-URI. > This plugin allows for exactly this workflow for TW on node.js For a single

Re: [tw5] Import as external files (Node.js)

2021-04-09 Thread Peter Erne
Hi Saq, amazing! Thanks for all your work. I would love to have such a feature in the standard core of TW5 in order to keep the .html lean and have one (ONE only!) folder for all media files. I love the lean concept of TW. This would mean: when I drag an image or PDF (prio 1 and 2 for me) into

Re: [tw5] Import as external files (Node.js)

2021-04-07 Thread 'Mark S.' via TiddlyWiki
Thank you! On Wednesday, April 7, 2021 at 11:55:54 AM UTC-7 saq.i...@gmail.com wrote: > > > For the UX I would like to move towards just being able to drag and drop, > or paste, images directly into the editor. > Regards > That would be pretty cool! -- You received this message because you

Re: [tw5] Import as external files (Node.js)

2021-04-07 Thread Saq Imtiaz
Hi Mark, You just need to set the default picture button for the editor toolbar to show on markdown tiddlers. Edit $:/core/ui/EditorToolbar/picture At the end of field condition add the following: [type[text/x-markdown]] For the UX I would like to move towards just being able to drag and

Re: [tw5] Import as external files (Node.js)

2021-04-07 Thread 'Mark S.' via TiddlyWiki
If you do an update on the UI that uses this plugin (sandbox, mentioned in other thread), could you add the ability for the tool to appear in markdown mode? It doesn't even have to be a markdown style image link since TW can recognize wikitext image links in markdown now. The goal being to

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Thank you Saq! Much appreciated! Best wishes Mohammad On Sun, Apr 4, 2021 at 1:50 PM Saq Imtiaz wrote: > Hi Mohammad, > > Currently there is only a local git repo on my own machine. I've uploaded > a zip file for you: >

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Mohammad, Currently there is only a local git repo on my own machine. I've uploaded a zip file for you: https://github.com/saqimtiaz/sq-tw/raw/master/temp/ImportToExternalFile.zip Please do use with caution. Regards, Saq -- You received this message because you are subscribed to the

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Jeremy, Thank you. I've been looking at documentation for Cognito this last week and it is helpful to have confirmation that it is the correct path to follow. The eventual goal is to have a modular system where you can choose to save binary files being imported as _canonical_uri tiddlers,

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Jeremy Ruston
Thanks Saq, good stuff. > Future plans include exploring saving to other backends like S3, time > allowing. This would be a nice option for single file wikis but the challenge > is how to securely save credentials for s3. Any ideas on this would be most > welcome. In my S3 work I use Cognito

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Best wishes Mohammad On Sun, Apr 4, 2021 at 12:19 PM Mohammad Rahmani wrote: > Hi Saq, > This is amazing indeed! Your time and talent are much appreciated! > One use case for me is: In Refnotes I use bibtex format for my > references (most of them with pdf=full version stored in the ref

Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Hi Saq, This is amazing indeed! Your time and talent are much appreciated! One use case for me is: In Refnotes I use bibtex format for my references (most of them with pdf=full version stored in the ref folder in the same folder of my wiki)! This plugin allows me to have access to the full

[tw5] Import as external files (Node.js)

2021-04-03 Thread Saq Imtiaz
This is an in-development plugin for Node.js that has been recently discussed in another thread. I'm posting it separately as well in case others find it of interest. For images (and other binary files), when importing to a wiki it allows you to save the files as external files in the files