Skip to content

Drag & Drop links not working #435

Open
@andresantosjor

Description

@andresantosjor

Initial checklist

Affected packages and versions

v1.8.5 / VsCode 1.81.1

Link to runnable example

No response

Steps to reproduce

  1. Create two .MDX files
  2. Drag one of the files into the other, holding shift.
  3. It will place file://c%3A/Users/<your.user>/<full-path>/<the-file>.mdx
  4. If you click the link it will take you to the file.

Expected behavior

If you try the same steps with .MD files, it produces [text](<the-file>) with a clickable link taking you to the linked file.

Actual behavior

The extension produces a garbled full path to the file, with no markdown syntax.

Runtime

Node v20

Package manager

npm v10

OS

Windows

Build and bundle tools

Rollup

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions