#30801 closed defect (bug) (duplicate)
Editor not Recognizing Line Breaks While Formatting a List
Reported by: | semrocc | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
Since WordPress 4.0, I noticed that the editor no longer recognizes line breaks while setting up a List <li>
Example:
Item 1
Item 2
Item 3
When all items are highlighted and the "li" button in HTML mode is clicked, the following shows:
- Item 1
Item 2
Item 3
Previously, it would format things properly as below:
- Item 1
- Item 2
- Item 3
Also, the editor sometimes thinks the whole post should be within the "li" items when trying to insert a list into a post...its a real challenge to post anything that uses "ul" or "ol".
Change History (11)
#1
@
10 years ago
- Component changed from Editor to TinyMCE
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
- Version changed from 4.1 to 4.0
#3
follow-up:
↓ 4
@
10 years ago
I'm not sure why this bug was marked as closed. Is there any ETA on when this will be fixed?
#4
in reply to:
↑ 3
@
10 years ago
Replying to semrocc:
I'm not sure why this bug was marked as closed. Is there any ETA on when this will be fixed?
This has been reported before and it was decided that it works as is. For explanation see:
#5
follow-up:
↓ 6
@
10 years ago
So here's a scenario. I create a post in my Notepad Text Editor with a list and then copy and paste it into the WP editor. I then highlight the list as below:
Now look at the result after clicking the list button:
I certainly would not call this normal behavior as the editor wraps the whole post in a list.
#6
in reply to:
↑ 5
@
10 years ago
- Keywords close added
Replying to semrocc:
Can't reproduce this. Pasting 5 lines of plain text (separated by two line breaks after each) properly makes 5 paragraphs in the editor. Then selecting only 3 paragraphs and converting to a list works as expected.
#10
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from reopened to closed
Duplicate of #29434.
Closing the first issue as a duplicate. Do you still experience the second issue? Could you please create a new ticket and give us some more information (exact steps to reproduce and the pasted text) if that's still the case?
Duplicate of #29434.