Ticket #9085 (closed Bug: fixed)

Opened 3 years ago

Last modified 14 months ago

<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.


apple-tab-span.patch (430 bytes) - added by yiminghe 3 years ago.
9085.patch (532 bytes) - added by j.swiderski 3 years ago.

Change History

Changed 3 years ago by yiminghe

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Keywords Safari added; apple-tab-span removed
  • 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 3 years ago by j.swiderski

comment:2 Changed 14 months ago by Reinmar

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

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