[wp-trac] [WordPress Trac] #48902: Customizer code editor CSS breaks on activate() (Or breaks when loaded later)

WordPress Trac noreply at wordpress.org
Wed Dec 11 06:43:00 UTC 2019


#48902: Customizer code editor CSS breaks on activate() (Or breaks when loaded
later)
-------------------------------------+------------------------------
 Reporter:  vukvukovich              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Customize                |     Version:  4.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by dlh):

 I meant to also say why the `refresh()` method seemed promising from the
 CodeMirror docs, as currently written:

 > If your code does something to change the size of the editor element
 (window resizes are already listened for), **or unhides it**, you should
 probably follow up by calling this method to ensure CodeMirror is still
 looking as intended.

 (My emphasis.)

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


More information about the wp-trac mailing list