Skip to content

Feature Request: Support drag-and-drop files/folders to insert clickable file:// hyperlinks #9003

@fireflysss

Description

@fireflysss

Describe feature

Is your feature request related to a problem? Please describe.

I'm a long-time user of MyBase Desktop and recently migrated to Trilium Notes (which is amazing, thank you for your great work!).

One key feature I miss from MyBase is:

  • Dragging a file from file explorer → insert a clickable file:// hyperlink (instead of importing it as an attachment/File note)
  • Dragging a folder from file explorer → insert a clickable file:// hyperlink to open the folder directly

Currently, Trilium:

  1. Only supports dragging files (imports as attachment, not a hyperlink)
  2. Ignores dragged folders completely

This makes it inconvenient to link to external files/folders without manually copying paths, especially for users who rely on Trilium as a local knowledge hub.

Describe the solution you'd like

  1. For files:

    • Add an option (e.g., hold Alt/Cmd while dragging) to insert a file:// hyperlink (instead of importing as attachment)
    • Default behavior can remain importing as attachment (to avoid breaking existing usage)
  2. For folders:

    • Support dragging folders directly to insert a file:// hyperlink (folder name as link text)
    • Clicking the link opens the folder in the system file explorer

Additional context

  • Use case: I manage project documentation in Trilium and need to link to external design files, data folders, etc., without duplicating files into Trilium.
  • System: Windows 10 (also tested on macOS Ventura)
  • Trilium version: 0.65.14 (latest stable)

Thank you again for developing Trilium — it's the best open-source local note-taking tool I've used!

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIIssues related to user-interface/front-end

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions