Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dropping local media in an MDX file #357

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

remcohaszing
Copy link
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
Copy link

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

This comment has been minimized.

Copy link
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
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
5 of 13 checks passed
@remcohaszing remcohaszing deleted the fix-drop-provider-local branch December 5, 2023 15:33

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