Opened 5 years ago

Closed 3 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 5 years ago.
9085.patch (532 bytes) - added by j.swiderski 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by yiminghe

comment:1 Changed 5 years ago by j.swiderski

  • Keywords Safari added; apple-tab-span removed
  • Status changed from new to confirmed
  • Version changed from 3.6.4 (SVN - trunk) to 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 5 years ago by j.swiderski

comment:2 Changed 3 years ago by Reinmar

  • Resolution set to fixed
  • Status changed from confirmed to closed

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 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy