Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#29956 new defect (bug)

Paragraphs within list items disappear in the editor when switching from text to visual and back

Reported by: brunni's profile brunni Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Formatting Keywords: needs-patch needs-unit-tests
Focuses: Cc:


On a fresh wordpress 4.0 in the editor when I enter





and switch from text to visual and back, I get


Change History (4)

This ticket was mentioned in Slack in #core by jorbin. View the logs.

9 years ago

#2 @jorbin
9 years ago

@iseulde - Could you take a look here. I was able to replicate it. It seems to work going into tinymce, but when switching out of tinymce, the paragraph tag is lost.

#3 @iseulde
9 years ago

  • Focuses javascript added
  • Keywords needs-patch needs-unit-tests added
  • Milestone changed from Awaiting Review to Future Release

This is an auto-p bug.

switchEditors._wp_Nop( '<ol><li>a<p>b</p></li></ol>' );



This file really needs some unit tests.

#4 @azaozz
9 years ago

  • Component changed from Editor to Formatting
  • Focuses javascript removed

This is autop problem.

Note: See TracTickets for help on using tickets.