You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would make sense to add a top-level option for this. I think it should hide them for file:// by default. You would rarely want to expose file:// URLs.
It might not be the best solution since it targets the whole menu, but the api offers and option function parameter shouldShowMenu that decides wether or not the menu should be shown:
Currently, the package allows copying links that are not really links and just internal files.
It would be awesome if there was a way to disable
file://
links from being treated as links.Alternatively, maybe we can pass a function instead of a callback into
showCopyLink
so we can fine-tune the behaviour.The text was updated successfully, but these errors were encountered: