Opened 14 years ago
Closed 14 years ago
#14535 closed defect (bug) (duplicate)
TinyMCE inserts font-size and line-height spans on Google Chrome when adding lists via the visual editor
Reported by: | duckpuppy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
Steps to reproduce:
- Create a new post. Make sure that you are using the default TwentyTen theme (will explain why at the end).
- Click the "Unordered List" button. Add one or more list items
- Click the "Unordered List" button again. Look at the code in HTML view.
A sample of the result is below:
Testing <ul> <li>This is a test</li> </ul> <span style="font-size: medium;"><span style="line-height: 24px;"> </span></span>
The reason using the default theme is important is because then you can be sure that the new editor styles feature is being used. In the 2010functions.php file, if I comment out the call to add_editor_style() in the twentyten_setup() function, then the problem goes away.
Change History (4)
Note: See
TracTickets for help on using
tickets.
This is similar to Ticket #14218, maybe the root cause is the same.