[wp-trac] [WordPress Trac] #31993: TinyMCE Visual Mode not working

WordPress Trac noreply at wordpress.org
Thu Apr 16 20:37:35 UTC 2015


#31993: TinyMCE Visual Mode not working
-------------------------------+------------------------------
 Reporter:  Lokimo             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => reporter-feedback


Comment:

 Cannot reproduce. The weird thing is: `ownerDocument.defaultView` is used
 only in one place in TinyMCE: in the `DomQuery.css()` (similar to jQuery's
 `css()`)
 https://github.com/tinymce/tinymce/blob/master/js/tinymce/classes/dom/DomQuery.js#L526

 However the code there is wrapped in a try{} catch(){}, not sure how it
 triggers that error. And since this is in the compressed wp-tinymce.js.gz
 file, don't think it can be "corrupted file" either...

 @Lokimo can you try adding `SCRIPT_DEBUG` to wp-confing.php and see if
 that fixes it or at least the error changes:
 https://codex.wordpress.org/Debugging_in_WordPress

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


More information about the wp-trac mailing list