[wp-trac] [WordPress Trac] #24067: TinyMCE 4.0

WordPress Trac noreply at wordpress.org
Thu Feb 13 08:17:29 UTC 2014


#24067: TinyMCE 4.0
-------------------------+-----------------------
 Reporter:  josh401      |       Owner:  azaozz
     Type:  enhancement  |      Status:  accepted
 Priority:  high         |   Milestone:  3.9
Component:  TinyMCE      |     Version:  3.8
 Severity:  minor        |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by programmin):

 Anyone else noticing that _WP_Editors::editor_settings doesn't output the
 plugin, when using

 add_filter( 'mce_external_plugins', 'myfunction' ,12,1);

 Myfunction being a function something like

 {{{
 function myfunction($plugin_array) {
    $plugin_array['pluginid'] = url to js
    return $plugin_array
  }
 }}}

 As documented here:
 http://codex.wordpress.org/Plugin_API/Filter_Reference/mce_external_plugins

 Although I see the pluginid in the mceInit, I don't see the url referenced
 anywhere in the source of the page. On a frontend page, if that matters.

 Is this a bug, or does MCE4 require different behavior?

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


More information about the wp-trac mailing list