[wp-trac] [WordPress Trac] #44820: CodeMirror in Customize - copy & paste bug

WordPress Trac noreply at wordpress.org
Fri Jun 27 14:42:59 UTC 2025


#44820: CodeMirror in Customize - copy & paste bug
-----------------------------+---------------------------------------------
 Reporter:  dionysous        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Customize        |     Version:  4.9
 Severity:  minor            |  Resolution:
 Keywords:  has-patch has-   |     Focuses:  ui, javascript, administration
  test-info                  |
-----------------------------+---------------------------------------------
Changes (by SirLouen):

 * keywords:  has-patch close reported-upstream => has-patch has-test-info


Comment:

 == Combined Bug Reproduction and Patch Test Report
 === Description
 ✅ This report validates that the indicated patch works as expected.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/44820/44820.2.diff

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-One 2.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Reproduction Instructions
 1. The [https://core.trac.wordpress.org/ticket/44820#comment:3
 instructions provided here] worked for me
 2. 🐞 `align-content` always pop as the default suggestion, instead of
 letting just do an Enter to start writing code for such selector.

 === Actual Results
 1.  ✅ Issue resolved with patch.

 === Additional Notes
 - I was looking the wrong way: For some reason, reading through the
 original report, I thought that the automatic "new line" when adding the
 code was actually the problem being reported, instead of the `align-
 content` suggestion that pops afterwards. Furthermore, for some reason,
 this is not happening consistently but happens pretty frequently.

 - With this in mind, this is not occurring upstream, only here in WP and
 the patch happens to solve this.

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


More information about the wp-trac mailing list