[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 Mar 29 01:35:23 UTC 2022
#50900: 5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)
--------------------------+-----------------------
Reporter: Justin_K | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+-----------------------
Description changed by costdev:
Old description:
> 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
New description:
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.
**Link removed**
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50900#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list