[wp-trac] [WordPress Trac] #31998: wp.mce.views with focus causes JS errors when toggeling visual editor view

WordPress Trac noreply at wordpress.org
Fri Apr 17 11:56:04 UTC 2015


#31998: wp.mce.views with focus causes JS errors when toggeling visual editor view
--------------------------+-----------------------------
 Reporter:  Clorith       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 As reported by @maniu in https://wordpress.org/support/topic/wpmceviews-
 update-switching-visualtextvisual-causes-appendchild-js-error

 When switching views between visual and text mode in the post editor the
 visual editor will fail to render upon toggle if a view was currently
 active/had focus when you moved away from the visual mode.

 In previous versions we appear to move the focus in the editor to the
 first point before the view element when we change views.

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


More information about the wp-trac mailing list