[wp-trac] [WordPress Trac] #28338: Optional Disable Drop & Drop TinyMCE 4.0 Upload

WordPress Trac noreply at wordpress.org
Fri May 23 14:25:46 UTC 2014


#28338: Optional Disable Drop & Drop TinyMCE 4.0 Upload
-------------------------------------------------+-------------------------
 Reporter:  Howdy_McGee                          |      Owner:
     Type:  feature request                      |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
Component:  Editor                               |  Review
 Severity:  normal                               |    Version:  3.9.1
  Focuses:  ui, accessibility, javascript,       |   Keywords:
  administration                                 |
-------------------------------------------------+-------------------------
 '''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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28338>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list