Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#18203 closed defect (bug) (fixed)

TinyMCE spits out <div> instead of <p> after <ul> and <ol> lists

Reported by: griffinjt Owned by: azaozz
Priority: normal Milestone: 3.3
Component: TinyMCE Version: 3.2.1
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

In WP 3.2.1, if you create a ordered or unordered list in the TinyMCE, after it has been closed, it outputs content afterwards within <div> tags instead of the expected <p> tag. The content should be outputted in a <p> tag instead.

I tested this on a clean install (WP 3.2.1) with two different themes and produced the same result both times.

Change History (8)

#1 @nacin
15 years ago

  • Milestone Awaiting Review3.2.2
  • Owner set to azaozz
  • Status newassigned

I've seen this. Thought it was fixed before 3.2.

#2 @azaozz
15 years ago

Yes, this is fixed in the newer version of TinyMCE. Unfortunately it came out too late for inclusion in 3.2 (we were in RC1) and it's impossible to be backported. The workaround is to type the text as paragraphs first, then convert them to a list leaving the last paragraph as is.

#3 @azaozz
15 years ago

  • Milestone 3.2.23.3

#4 @travisnorthcutt
15 years ago

  • Summary TinyMCE spits after <div> instead of <p> after <ul> and <ol> listsTinyMCE spits out <div> instead of <p> after <ul> and <ol> lists

Just fixing a typo in the title.

#5 @azaozz
15 years ago

Closed #18262 as duplicate.

#6 @danielbachhuber
15 years ago

  • Cc d@… added

#7 @danielbachhuber
15 years ago

Is there any chance we could fix this in 3.2.2? I consider it a blocker if you use lists at all; most users unfortunately don't notice the change in markup but it has pretty nasty side effects.

#8 @azaozz
15 years ago

  • Resolutionfixed
  • Status assignedclosed

Should be fixed in [18660], feel free to reopen if that still happens.

Note: See TracTickets for help on using tickets.