[wp-trac] [WordPress Trac] #3312: Capital Z in HTML editor triggers new line

WordPress Trac noreply at wordpress.org
Sun Feb 11 08:28:24 UTC 2024


#3312: Capital Z in HTML editor triggers new line
-------------------------------------+---------------------
 Reporter:  foolswisdom              |       Owner:  andy
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  2.1
Component:  Administration           |     Version:  2.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by sofoclesbsvny8):

 Why does typing a capital "Z" in the HTML editor trigger a new line when
 switching to the Visual editor?
 Environment: WordPress trunk r6805.
 Reproducibility: Always.
 Steps:
 1. In the HTML (quick tag) editor, enter "Zebra".
 2. Click the Editor (Visual) tab.
 Actual results: "Test" becomes:
 ```
 Z
 ebra
 ```
 Additional details: Typing `<a href="http://example.com">ZYX</a>` becomes:
 ```
 Z
 YX
 ```
 with both being links to the same site.

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


More information about the wp-trac mailing list