Skip to content

Fix drag & drop#240

Merged
schuyler merged 2 commits intoschuyler:mainfrom
wltb:fix-drag
Dec 31, 2025
Merged

Fix drag & drop#240
schuyler merged 2 commits intoschuyler:mainfrom
wltb:fix-drag

Conversation

@wltb
Copy link
Copy Markdown
Contributor

@wltb wltb commented Dec 31, 2025

The original author changed the default behavior of drag & drop to allow inlining JPEG images as data:image blocks when they are dragged into the text editor.

Unfortunately, the implementation as it was overwrote the default drag behavior completely, bit this is easily fixed with a message to super.

While testing this, I noticed that the code has some other quirks. It inlines all file types, not just JPEGs, and the inlining isn't undo-able; I made some comments so that someone may pick this up at some point.

@schuyler
Copy link
Copy Markdown
Owner

Thanks for this patch, @wltb !

Relates to #11

schuyler pushed a commit that referenced this pull request Dec 31, 2025
Fork PRs have limited GITHUB_TOKEN permissions, causing the coverage
comment step and artifact upload to fail with "Resource not accessible
by integration" errors. Add continue-on-error to these steps so they
don't break the CI run.

Also fix artifact name collision by adding matrix.os suffix to test
results artifact name.

Related to #240
@schuyler
Copy link
Copy Markdown
Owner

Tests are failing due to a CI configuration issue, not the code itself.

@schuyler schuyler merged commit b05bafb into schuyler:main Dec 31, 2025
5 of 17 checks passed
@wltb wltb deleted the fix-drag branch December 31, 2025 21:39
@schuyler schuyler mentioned this pull request Jan 7, 2026
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