Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6945 closed Bug (duplicate)

Pasted blocks doesn't split inline element

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


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

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.



Change History (4)

comment:1 Changed 6 years ago by garry.yao

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

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 6 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 6 years ago by garry.yao

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

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

comment:4 Changed 6 years ago by daniel_r

I looked at the , 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...



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