[wp-trac] [WordPress Trac] #28440: WP_Editor() - Disable Drag Drop Upload
WordPress Trac
noreply at wordpress.org
Tue Jun 3 15:06:45 UTC 2014
#28440: WP_Editor() - Disable Drag Drop Upload
-------------------------+---------------------------------------------
Reporter: Howdy_McGee | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.9.1
Severity: normal | Resolution:
Keywords: | Focuses: ui, javascript, administration
-------------------------+---------------------------------------------
Description changed by SergeyBiryukov:
Old description:
> This could be the same problem as [my last
> ticket](https://core.trac.wordpress.org/ticket/28338) but it seems like
> the `drag_drop_upload` flag that is currently in the codex may be broken.
> I've tried this on a few installs and was unable to actually disable the
> drag and drop upload functionality:
>
> {{{
> wp_editor($editor_content, 'editorID', array(
> 'wpautop' => true,
> 'media_buttons' => false,
> 'textarea_name' => '_editor_name',
> 'textarea_rows' => 15,
> 'teeny' => true,
> 'drag_drop_upload' => false
> ));
> }}}
>
> You can view The Codex here
> (http://codex.wordpress.org/Function_Reference/wp_editor) which is the
> last option in the arguments list.
New description:
This could be the same problem as my last ticket (#28338) but it seems
like the `drag_drop_upload` flag that is currently in the codex may be
broken. I've tried this on a few installs and was unable to actually
disable the drag and drop upload functionality:
{{{
wp_editor($editor_content, 'editorID', array(
'wpautop' => true,
'media_buttons' => false,
'textarea_name' => '_editor_name',
'textarea_rows' => 15,
'teeny' => true,
'drag_drop_upload' => false
));
}}}
You can view The Codex here
(http://codex.wordpress.org/Function_Reference/wp_editor) which is the
last option in the arguments list.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28440#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list