[wp-trac] [WordPress Trac] #14311: No media insertion support using the the_editor() function
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 14 23:36:08 UTC 2010
#14311: No media insertion support using the the_editor() function
--------------------------+-------------------------------------------------
Reporter: DreadLox | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.0
Severity: major | Keywords: editor, meta-boxes, wysiwyg, the_editor
--------------------------+-------------------------------------------------
Hello,
Making, for example, a custom PostType, I needed a rich text text-area in
my meta-boxes.
I found the the_editor() function witch is pretty nice. It outputs a
tinymce editor with a custom id. That is nice and ok.
Trouble comes when using the $media_buttons parameter to have for example
images upload/insertion into the rich text text-area.
It partially works: the buttons get displayed and clicking on them shows
up the media upload windows. The problem is that the media
upload/insertion window is "tight" to a text-area witch ID is 'content'.
(found one occurrence in media-upload.dev.js line 62)
It should be "tight" to the ID provided to the_editor() function.
regards.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14311>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list