Opened 14 years ago
Closed 14 years ago
#6849 closed Bug (fixed)
Paragragh tags should not be added inside <li> tags
Reported by: | James | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.5.3 |
Component: | Core : Lists | Version: | 3.4 |
Keywords: | IBM | Cc: | Damian, joek, Satya Minnekanti |
Description
Steps to Reproduce the defect:
- Open the Ajax sample.
- Click on the numbered list icon.
- Click on Heading 1 paragraph format.
- Type some text & press Enter.
- Type some more text & press Enter.
Expected: The source should look like this:
<ol> <li> <h1>Heading 1 List Item 1</h1> </li> <li> Normal List Item 2 </li> <li> Normal List Item 3 </li> </ol>
Actual: But instead there are <p> tags added inside <li> tags so the output looks like this:
<ol> <li> <h1>Heading 1 List Item 1</h1> </li> <li> <p>Normal List Item 2</p> </li> <li> <p>Normal List Item 3</p> </li> </ol>
Attachments (2)
Change History (10)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | 3.4.3 (SVN - trunk) → 3.4 |
Changed 14 years ago by
Attachment: | 6849.patch added |
---|
comment:2 Changed 14 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | confirmed → review |
comment:4 Changed 14 years ago by
Milestone: | → CKEditor 3.5.3 |
---|
comment:5 Changed 14 years ago by
Status: | review → review_failed |
---|
After patch:
- Load this:
<ul> <li> <h1>Some text</h1> </li> </ul>
- Put the caret in the middle of "Some text".
- Hit ENTER.
An empty <h1> is appended to the first list item.
Changed 14 years ago by
Attachment: | 6849_2.patch added |
---|
comment:6 Changed 14 years ago by
Status: | review_failed → review |
---|
Um...looks like the first patch was just heading the wrong way, which doesn't take into consideration the inline style continuation.
comment:7 Changed 14 years ago by
Status: | review → review_passed |
---|
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [6563].
Confirmed the redundant <p>'s are added