[wp-trac] [WordPress Trac] #52294: add_editor_style: Allow replacing a style with an RTL version

WordPress Trac noreply at wordpress.org
Sat May 17 17:23:06 UTC 2025


#52294: add_editor_style: Allow replacing a style with an RTL version
-------------------------------------------------+-------------------------
 Reporter:  yoavf                                |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Themes                               |     Version:  5.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:  rtl
  test-info                                      |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests needs-test-info


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can be reproduced.

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

 === Reproduction Steps

 1. [https://core.trac.wordpress.org/ticket/52294#comment:21 First
 following instructions from pbearne]
 2. Create a new post, with nested numbered lists in the editor with 2021
 theme enabled
 3. ❌ [https://i.imgur.com/HCbZli1.png Everything is nested correctly in
 the editor]
 4. ❌ [https://i.imgur.com/KDp46Ot.png Everything is nested correctly also
 in the backend]

 I was expecting this
 [https://core.trac.wordpress.org/ticket/52294#comment:28 according to
 poena comment]

 === Actual Results
 1.  ❌ Error condition doesn't occur

 === Additional notes

 1. RTL files are being generated correctly with the `npm` build commands
 2. I'm assuming that this patch adds much more than just what's informed
 in this report. But I was expecting at least to reproduce the report
 instructions.
 3. I have not tested anything further because I cannot even reproduce the
 trouble with the listing block
 4. Unit tests look good
 5. @pbearne, expecting new instructions to at least have one before/after
 reproduction case

 === Supplemental Artifacts
 Without patch editor:

 [[Image(https://i.imgur.com/HCbZli1.png)]]

 Without patch frontend:

 [[Image(https://i.imgur.com/KDp46Ot.png)]]

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


More information about the wp-trac mailing list