Opened 7 months ago
Closed 3 months ago
#50900 closed defect (bug) (duplicate)
5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.5 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
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
Change History (4)
Note: See
TracTickets for help on using
tickets.
Addendum: it's also doing the opposite - it's removing br tags that I've explicitly entered in the content, apparently making it impossible to use the code editor to write code.