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

Inhibit drag-n-drop in the editor #4368

Closed
wants to merge 2 commits into from

Conversation

lairdshaw
Copy link
Contributor

Temporarily prevent drag-n-drop of images into the editor until PR #4359
is updated and included in 1.9.

Based on / inspired by @effone's code/approach in that PR.

Temporarily prevent drag-n-drop of images into the editor until PR mybb#4359
is updated and included in 1.9.
@dvz dvz linked an issue May 12, 2021 that may be closed by this pull request
@dvz
Copy link
Member

dvz commented May 14, 2021

This may introduce confusion to the UI, given the drop target feedback.

@lairdshaw
Copy link
Contributor Author

Fair criticism. I think it's less confusing than the current situation, but I'll see if I can address your criticism.

@lairdshaw
Copy link
Contributor Author

Please see what you think of the commit I've just added, which hopefully resolves the issue satisfactorily.

@euantorano
Copy link
Member

This looks good to me, I just want to test in a few other browsers than just Safari and Firefox. I'll test Chrome tomorrow.

@lairdshaw
Copy link
Contributor Author

Closing given the merge of the alternative supplied by @dvz in #4380.

@lairdshaw lairdshaw closed this Jun 10, 2021
@lairdshaw lairdshaw deleted the inhibit-editor-drag-drop branch June 10, 2021 11:58
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.

Paste image into SCEditor gives data-uri instead of URL for [img] BBcode
3 participants