[wp-trac] [WordPress Trac] #16098: JavaScript error in TinyMCE

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 5 17:03:38 UTC 2011


#16098: JavaScript error in TinyMCE
-------------------------------+------------------
 Reporter:  pavelevap          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.1
Component:  TinyMCE            |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------

Comment (by filosofo):

 I had to turn off debug mode to reproduce.

 I don't have TinyMCE source, and patch diff highlighting isn't very
 helpful, so here's the sanity check I added to `wp-
 includes/js/tinymce/plugins/media/editor_plugin.js`

 I changed
 {{{
 d=e.content
 }}}
 to
 {{{
 d=(e.content?e.content:'')
 }}}

 Note that `wp-includes/js/tinymce/wp-tinymce.js.gz` will also have to be
 rebuilt, as it contains the script above.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16098#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list