Feature request: Option to add a file for download e.g pdf #86
Replies: 6 comments
-
That is actually a really good idea. I'll have look on that! Thank your very much for reaching out @garethworld |
Beta Was this translation helpful? Give feedback.
-
@garethworld I had some time to let this sink in a bit. While I really like the idea, I'm uncertain that this makes sense from a usability perspective:
One thing that came into my mind, was to provide a "File" Dialog in the Writer Toolbar: This aligns not only with the Kirby default textareas, where "Files" is a sperated icon (and Dialog) but provides also a clear responsibility. Furthermore a User doesn't need to learn a new interface. Anyhow, extending the Writer-Toolbar is possible but not in an easy way 🙊 There exists a Plugin called oh-hi-mark by @rasteiner where he solved this issue but to be honest, I really fear the maintence effort if something changes in the core. I could extend this or create an additional plugin which is part of enhanced-toolbar-link-dialog. I could also provide a new one wich is based on oh-hi-mark. But than you have to download, install and maintain an additional plugin (probably two)... So it is complicated... But maybe I overthink this a bit. 😂 |
Beta Was this translation helpful? Give feedback.
-
I think you are spot on with a separate button, much cleaner and easier to understand. |
Beta Was this translation helpful? Give feedback.
-
my 2 cents: "oh-hi-mark" was intended only to add to a discussion. Johann later rewrote his plugin and made it even less hacky than mine, so if you're considering to use one, it should probably be his. |
Beta Was this translation helpful? Give feedback.
-
Thanks @rasteiner! @garethworld Yes, it is. Still not sure about if (and how) I'm going to implement this. I'll let you know. |
Beta Was this translation helpful? Give feedback.
-
This would be my ideal Kirby link dialog: The fields would change based on the selected "Link type". (Mockup based on the link dialog from the Markdown plugin, where it alrady has the radio buttons for "type". I have added the "Page" (plus dropdown) and "File" options). |
Beta Was this translation helpful? Give feedback.
-
It would be really useful to be able to add a file to create a download link.
Beta Was this translation helpful? Give feedback.
All reactions