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

WordPress Trac noreply at wordpress.org
Sat Dec 7 13:02:32 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:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by vukvukovich):

 @dlh Little update. I've loaded CodeMirror manually to plain textarea
 control with {{{wp.codeEditor.initialize()}}} and it works properly if
 textarea is activated before and then CodeMirror instantiated. Vice versa
 bug occurs.

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


More information about the wp-trac mailing list