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

Desktop: Fix dropping files into the editor #11380

Merged

Conversation

personalizedrefrigerator
Copy link
Collaborator

Summary

This pull request fixes a regression in v3.2.1 -- it wasn't possible to drop files into the Markdown or Rich Text editors.

Testing plan

Fedora 41:

  1. Open Chromium and Joplin.
  2. Open Chromium's downloads page.
  3. Drag an image file from Chromium's downloads into Joplin's Markdown editor.
  4. Verify that the image is inserted into the note as a resource.

Comment on lines -59 to -60
if (!file.path) continue;
paths.push(file.path);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

file.path was removed in Electron 32.

@laurent22 laurent22 merged commit 0fadf1b into laurent22:dev Nov 13, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants