WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#17155 closed defect (bug) (duplicate)

TinyMCE inserts spans with font-styles atributes

Reported by: thomask Owned by:
Milestone: Priority: normal
Severity: major Version: 3.1
Component: TinyMCE Keywords: needs-patch
Focuses: Cc:

Description

This is continuation of #14218 which seems to be not fixed in 3.1 and still exist even in current 3.2. Reproducing steps

  1. Open WP in latest Chrome (any version) - and probably also in other webkit browsers
  2. Create new post
  3. create UL with clicking on bullet icon
  4. type some Li elements
  5. close ul with <- icon (in advanced tinymce line)
  6. type some text
  7. switch to html view or publish article and see the code, you will see something like
asdfasdfh
<ul>
	<li>asfasdfa</li>
	<li>asdfa</li>
	<li>asfd</li>
</ul>
<span style="font-size: small;"><span class="Apple-style-span" style="line-height: 24px;">adfasdfasd</span></span>

<span style="font-size: small;"><span class="Apple-style-span" style="line-height: 24px;">asfasd</span></span>

<span style="font-size: small;"><span class="Apple-style-span" style="line-height: 24px;">
</span></span>

P.S.: i can't select Version 3.2 in the bug report properties

Change History (2)

#1 @duck_
8 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#17154

Whoops :)

#2 @duck_
8 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.