Link insertion for local files like the attachement link feature #4397

Open
opened 2026-02-05 08:47:47 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @pbuergi on GitHub (Jan 10, 2024).

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?

  • 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.

Originally created by @pbuergi on GitHub (Jan 10, 2024). ### 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](https://github.com/BookStackApp/BookStack/assets/156188834/8e95a1f7-d35a-400f-b668-cfd4caafaa3a) 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.
OVERLORD added the 🔨 Feature Request label 2026-02-05 08:47:47 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 11, 2024):

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 commented on GitHub (Jan 11, 2024): 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.
Author
Owner

@pbuergi commented on GitHub (Jan 11, 2024):

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

@pbuergi commented on GitHub (Jan 11, 2024): It does work fine with edge in our company. Would be helpful. It works also with a chrome extension ("Enable local file links").
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4397