Opened 12 years ago
Closed 12 years ago
#28282 closed defect (bug) (fixed)
Remove from an empty paragraphs inside the visual editor
| Reported by: | iseulde | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | TinyMCE | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
An is added to empty paragraphs to preserve them, but when inserting the content again in TinyMCE these spaces are not removed. So if I add an empty paragraph and come back later again to add something, a space is added before the cursor (And in most cases you don't even notice).
Attachments (2)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The patch also fixes the case where two or more spaces are added and the paragraph is not kept.
That expressing also doesn't need capturing parentheses.