Ticket #6945 (closed Bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

Pasted blocks doesn't split inline element

Reported by: daniel_r Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: IE Cc: vedmack@…

Description

This bug can be reproduced even in the online demo website of ckeditor 1) write the three line of text for example: a b c 2) underline the first row (you can use the ctrl+u) 3)select the three line of text and paste it over immediately (you can do ctrl+c ctrl+v as a result of the copy paste

as a result of the above operations the text will be shiffted down couple of lines and all the line will become underlined...

here are the screen shots

http://img543.imageshack.us/img543/7017/ckeditorbug1.jpg http://img529.imageshack.us/img529/6911/ckeditorbug2.jpg

from this moment the underline/bold (maybe other functions as well) wont work anymore on the text and most of the time if you will try to play with the styles(underline/bold) a js will be thrown.

Regards,

Daniel.

Change History

comment:1 Changed 3 years ago by garry.yao

  • Keywords IE added
  • Status changed from new to confirmed
  • Component changed from General to Core : Pasting

A simplified TC:

  1. Paste an entire paragraph from clipboard into one inline element, e.g. Select all content of the sample page and paste it into the strong text;
  2. Click inside the pasted paragraph, note that elements bar shows the inline element is wrapped around the paragraph.

Being a IE bug for years (any pasted block will not split up inline elements), we'll need a post-fixing solution if not having #5309.

comment:2 Changed 3 years ago by garry.yao

  • Summary changed from Paste of text over selected and already styled text applys the style to the pasted text + js errors(happens in IE 8) to Pasted blocks doesn't split inline element

comment:3 Changed 3 years ago by garry.yao

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

Oops, we've already have one shot, see #5756.

comment:4 Changed 3 years ago by daniel_r

I looked at the http://dev.ckeditor.com/ticket/5756 , it was opened 7 months ago...

are there any plans to fix it in the near future? cause for me its most common usage of the ckeditor , paste styled text over another styled text...

Regards

Daniel.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy