[wp-trac] [WordPress Trac] #44134: Update to TinyMCE 4.7.13

WordPress Trac noreply at wordpress.org
Wed May 30 14:25:20 UTC 2018


#44134: Update to TinyMCE 4.7.13
-------------------------------------------+---------------------
 Reporter:  hometowntrailers               |       Owner:  (none)
     Type:  task (blessed)                 |      Status:  new
 Priority:  normal                         |   Milestone:  4.9.7
Component:  TinyMCE                        |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+---------------------

Comment (by bdanzer29):

 I am registering my script through mce_external_plugins filter.


 {{{#!php
 <?php
 add_filter('mce_external_plugins', function ($plugin_array) {
                 $plugin_array['lorem'] =
 Assets::get_plugin_url().Assets::get_asset('js', 'lorem');
                 $plugin_array['lorem2'] =
 Assets::get_plugin_url().Assets::get_asset('js', 'lorem2');

                 return $plugin_array;
             });
 }}}

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


More information about the wp-trac mailing list