Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6503 closed Bug (duplicate)

class="Apple-style-span" should not be added by rich text editor

Reported by: jokerall Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.1
Keywords: Cc: jokerall

Description

What is the expected result? The generated HTML should be something like: <span style="background-color:#ffff00">Test</span><br>

What happens instead? The generated HTML is cluttered with class="Apple-style-span" attributes:

<font class="Apple-style-span"><span class="Apple-style-span" style="background-color:#ffff00">Test</span></font><br>

The <font> tag seems added by Docs, but class="Apple-style-span" is definitely added by Chrome. This attribute seems useless and should not be added.

http://code.google.com/p/chromium/issues/detail?id=28904

How can i fix it ckeditor?

Change History (5)

comment:1 Changed 13 years ago by jokerall

Cc: jokerall added

comment:2 Changed 13 years ago by Alfonso Martínez de Lizarrondo

Status: newpending

You have pasted the summary from the chromium bug that affects Google Docs, but what are the steps to reproduce in CKEditor?

Isn't this a dup of #2178 or #5052 ?

comment:3 Changed 13 years ago by jokerall

...but class="Apple-style-span" is definitely added by Chrome. This attribute seems useless and should not be added.

It happens also in Ckeditor.

  1. when quickly hitting the Backspace button

Please provide a workaround or fix.

comment:4 Changed 13 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: pendingclosed

The workaround is as pointed out in #5052 to process all the HTML and remove them, or just skip those browsers. We're waiting for a fix at the webkit side in https://bugs.webkit.org/show_bug.cgi?id=34799

dup of #5052

comment:5 Changed 13 years ago by jokerall

i will not skip Chrome, Safari, etc. i thought its (your) job to make ckeditor compatible to ALL important browser or at least offer an official fix or workaround.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy