Ticket #9085 (closed Bug: fixed)

Opened 22 months ago

Last modified 11 days ago

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

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

Description

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

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

Change History

Changed 22 months ago by yiminghe

comment:1 Changed 22 months 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 22 months ago by j.swiderski

comment:2 Changed 11 days 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