#28525 closed defect (bug) (duplicate)
Wordpress (TinyMCE) eats up paragraph tags if you leave the post, then go back to it
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 3.9.1 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
On two of my sites (at least using Chrome stable), I've been noticing random loss of paragraphs where text separated by just new p tags gets merged into a single paragraph. If the separators are images, the paragraphs don't get joined, so it's only for text as simple as
<p>a</p> <p>b</p>
This makes entire posts unreadable due to them becoming a wall of text.
To reproduce:
- load any post with multiple consecutive paragraphs.
- leave the page by going to another site, for example press View post.
- press Back in your browser and observe the paragraphs merged after TinyMCE loads. Sometimes you may need to leave the page twice, but for the most part, once is enough, in my testing.
I've tried on two different sites, one that disables autop and one that doesn't, and both are affected.
This is a pretty serious issue because it's destructive, so I'm inclined to give it a high priority, if I could.
I'm going to attach several images comparing before and after.
Attachments (2)
Change History (4)
#2
@
11 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #28037.
Unfortunately Chrome doesn't care about autocomplete="off"
. It keeps "auto-filling" the editor textarea when the user clicks the Back button regardless... Only solution known to work for now is to set autocomplete="off"
on the whole form.
Original text