[wp-trac] [WordPress Trac] #50900: 5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)

WordPress Trac noreply at wordpress.org
Tue Aug 11 18:31:51 UTC 2020


#50900: 5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)
--------------------------+-----------------------------
 Reporter:  Justin_K      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While testing out my plugins against 5.5, there has been a breaking change
 in the post editor: while in CODE EDITOR mode (note: not visual editor)
 mode, the instant the mouse focus is taken out of the content box, it
 appends <br /> tags at the end of every line.  This is expected with
 the visual editor, but not with the code editor.  The regression breaks
 the functionality of my plugin.

 Here's a short video showing the behavior:
 https://lnk2.tk/snaps/2020-08-11_11.31.07.mp4

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50900>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list