Opened 12 years ago
Closed 12 years ago
#28338 closed enhancement (fixed)
Optional Disable Drop & Drop TinyMCE 4.0 Upload
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 3.9.1 |
| Component: | Editor | Keywords: | |
| Focuses: | javascript, administration | Cc: |
Description
The Main Problem
Currently there's no real way to remove the drop and drop functionality on the default editor. We do have this option with wp_editor() by setting "drag_drop_upload" to false. You would expect to also see this option in a filter like "tiny_mce_before_init" but we don't. I purpose that we add this option so it can be filtered out if needed.
Example of Why The Above is A Problem
I bring this up because on one of my sites I've added an extra custom media upload button which opens a light box. It is supposed to let the user upload images from their computer and I do some custom stuff to them etc. but when the user drags images to my lightbox, the Drag & Drop functionality from the editor seems to take the highest precedence.
Attachments (1)
Change History (7)
#1
follow-up:
↓ 3
@
12 years ago
- Focuses ui accessibility removed
- Type changed from feature request to enhancement
Sounds like we need a filter on _WP_Editors::parse_settings().
#3
in reply to:
↑ 1
@
12 years ago
Replying to SergeyBiryukov:
Sounds like we need a filter on
_WP_Editors::parse_settings().
Drop and Drop Editor Taking Precedence.