[wp-trac] [WordPress Trac] #26975: TinyMCE adding inline line-height styles and spans
WordPress Trac
noreply at wordpress.org
Fri Jan 31 16:49:55 UTC 2014
#26975: TinyMCE adding inline line-height styles and spans
--------------------------+-----------------------------
Reporter: lumpysimon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When using the visual editor, inline styles are often added to tags (so
far I've seen them added to `<p>`, `<li>` and `<a>` tags). I'm also seeing
`<span>` elements created out of the blue containing the inline styles,
wrapping around existing text.
The styles are always in one of the following two formats: `style="line-
height: 1.5;"` or `style="line-height: 1.5em;"`.
I have not been able to work out a pattern to it - sometimes I can edit
away for ages without problem, other times the styles are being added to
multiple items pretty much constantly. I can delete the styles, then do
further editing (in the visual editor), but they are very often added back
in again.
So far this has only happened to me on 3.8 and 3.8.1 when using Chrome on
Windows 7. However, due to its unpredictable nature, I can't be sure it
doesn't happen on other browsers. I'm not able to test on Mac.
There are several old closed trac tickets from about 3yrs ago, but nothing
recent. I'm 99% sure this started for me with 3.8.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list