[wp-trac] [WordPress Trac] #45117: Fix defining of the TinyMCE settings in script-loader

WordPress Trac noreply at wordpress.org
Thu Oct 18 11:44:42 UTC 2018


#45117: Fix defining of the TinyMCE settings in script-loader
--------------------------+--------------------
 Reporter:  azaozz        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.0
Component:  TinyMCE       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Following up from [43723] and
 https://github.com/WordPress/gutenberg/issues/8670.

 [43723] copied some of the ThinMCE init array settings from `class-wp-
 editor.php` to `script-loader.php`. However it didn't include the
 "translation" from PHP to JS which resulted in the above GH issue. Similar
 problems (with JSON encoded strings) may exist in other complex TinyMCE
 settings added by plugins, like `style_formats_merge` `formats`, etc. see
 https://www.tiny.cloud/docs/configure/content-formatting/#formats.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list