[wp-trac] [WordPress Trac] #43969: Custom themes will not work in TinyMCE 4.7

WordPress Trac noreply at wordpress.org
Wed May 9 00:28:13 UTC 2018


#43969: Custom themes will not work in TinyMCE 4.7
--------------------------------------+---------------------
 Reporter:  programmin                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.9.6
Component:  TinyMCE                   |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:  ui
--------------------------------------+---------------------

Comment (by programmin):

 The root of the problem may be that previously mce-themes were:


 {{{
 tinymce.ThemeManager.add('nameoftheme', function... )
 }}}


 and now the theme is


 {{{
 (function () { var modern = (function () {...})() } ) ()
 }}}


 Note that before the function does not immediately run... now it does
 meaning there is no way to tell mce php loader to not run that modern
 theme behavior.

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


More information about the wp-trac mailing list