Opened 12 years ago

Closed 10 years ago

#9085 closed Bug (fixed)

<span class="Apple-tab-span"> remove

Reported by: yiminghe Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.0
Keywords: Safari Cc:


Webkit-based browser generates

<span class='Apple-tab-span' style='whitespace:pre'>         </span>

to show tab effect when pasted from somewhere(outlook).

Since ck will collapse extra whitespace except pre, it leaves:

<span class='Apple-tab-span' style='whitespace:pre'> </span>

So there is no reason keeping this span. see attachment patch.

Attachments (2)

apple-tab-span.patch (430 bytes) - added by yiminghe 12 years ago.
9085.patch (532 bytes) - added by Jakub Ś 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by yiminghe

Attachment: apple-tab-span.patch added

comment:1 Changed 12 years ago by Jakub Ś

Keywords: Safari added; apple-tab-span removed
Status: newconfirmed
Version: 3.6.4 (SVN - trunk)3.0

We had similar issue already #4876 but this one treats about removing not needed garbage. I know it won't be an issue in v4 of the editor but IMO we could also do it for v3 with the patch provided by @yiminghe.

Changed 12 years ago by Jakub Ś

Attachment: 9085.patch added

comment:2 Changed 10 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Using /plugins/clipboard/dev/clipboard.html sample I verified that this span is replaced with multiple &nbsp; characters.

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