BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Link insertion for local files like the attachement link feature

Open pbuergi opened this issue 2 years ago • 2 comments

Describe the feature you'd like

It would be really helpful if you could choose whether you want to insert a weblink or a link to a local file (unc) when inserting a link. Just like when you insert a local file link (\server01\share01) by the page attachement function. image If you paste the link within a page it is formatted wrong -> URL - UNC In order not to edit the link by hand (attach "file://" in front and change every "" to "/") there should be a function to choose what kind of link you want to instert. For example file, web, bookstack page.

Describe the benefits this would bring to existing BookStack users

Instering file links into a page would be faster and easier. (no need to edit by hand)

Can the goal of this request already be achieved via other means?

as far as i know only by edit the link by hand (attach "file://" in front and change every "" to "/")

Have you searched for an existing open/closed issue?

  • [X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

We use it and we really like the simplicity. It's a really nice tool.

pbuergi avatar Jan 10 '24 12:01 pbuergi

Hi @pbuergi, Local file paths gets raised every so often, but the main issue is that most modern browsers stop them from opening for security, so you have to manually copy out the paths to use. Not sure it's worth building features for functionality that's essentially blocked by the browser.

ssddanbrown avatar Jan 10 '24 22:01 ssddanbrown

It does work fine with edge in our company. Would be helpful. It works also with a chrome extension ("Enable local file links").

pbuergi avatar Jan 11 '24 06:01 pbuergi