[wp-trac] [WordPress Trac] #27380: 3.9 TinyMCE in Modal, breaks dropdown menu and image edit button not visible

WordPress Trac noreply at wordpress.org
Thu Apr 17 18:05:13 UTC 2014


#27380: 3.9 TinyMCE in Modal, breaks dropdown menu and image edit button not
visible
-------------------------------+------------------------------
 Reporter:  WPThemeTrends      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  3.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by azaozz):

 Looking at this again, in the example:

 {{{
 window.tinyMCE.execCommand("mceAddEditor", true, tiny.attr("id"));
 }}}

 What is `tiny.attr("id")`? Is it just a string, ID for the editor or is it
 an init object listing what buttons to show and what plugins to load in
 that instance?

 If it is a string, you will need to replace it with an init object with
 the TinyMCE settings you want for the editor instance. Have a look at
 `tinyMCEPreInit.mceInit.content` on the Edit Post screen. As a minimum you
 need to specify which plugins to load (if loading plugins not included in
 WordPress, need to load them in `external_plugins`) and which buttons to
 show.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27380#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list