Skip to content

Fix dropping local media in an MDX file#357

Merged
remcohaszing merged 1 commit intomainfrom
fix-drop-provider-local
Dec 5, 2023
Merged

Fix dropping local media in an MDX file#357
remcohaszing merged 1 commit intomainfrom
fix-drop-provider-local

Conversation

@remcohaszing
Copy link
Copy Markdown
Member

This was using URL.canParse, which isn’t available in the Node.js version used by VSCode. This failed silently. This is fixed by using strict parse mode from vscode-uri.

Closes #322

This was using `URL.canParse`, which isn’t available in the Node.js
version used by VSCode. This failed silently.  This is fixed by using
strict parse mode from `vscode-uri`.

Closes #322
@remcohaszing remcohaszing added 🐛 type/bug This is a problem 🗄 area/interface This affects the public interface 👶 semver/patch This is a backwards-compatible fix 👍 phase/yes Post is accepted and can be worked on labels Nov 27, 2023
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 27, 2023

🦋 Changeset detected

Latest commit: ac340d5

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine.
When you have a chance, could you take a look at at the failing test @remcohaszing ?

@remcohaszing
Copy link
Copy Markdown
Member Author

The test failure is unrelated. I’m looking into it, but I’ll merge this as-is.

@remcohaszing remcohaszing merged commit 7110d61 into main Dec 5, 2023
@remcohaszing remcohaszing deleted the fix-drop-provider-local branch December 5, 2023 15:33
@github-actions

This comment has been minimized.

@remcohaszing remcohaszing added the 💪 phase/solved Post is done label Dec 5, 2023
@github-actions github-actions bot removed the 👍 phase/yes Post is accepted and can be worked on label Dec 5, 2023
@github-actions github-actions bot mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🗄 area/interface This affects the public interface 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🐛 type/bug This is a problem

Development

Successfully merging this pull request may close these issues.

Drag and Drop to create Markdown images in MDX files

2 participants