Opened 10 years ago

Last modified 8 years ago

#13332 review Bug

IE: collapsed selection doesn't match styling. — at Version 2

Reported by: Jakub Ś Owned by:
Priority: Nice to have (we want to work on it) Milestone:
Component: General Version: 4.0
Keywords: IE Cc:

Description (last modified by Jakub Ś)

Problem can be reproduced from CKEditor 4.0 (works fine in 4.0 beta) in IE9-11.

To reproduce for inline styles:

  1. Create a paragraph and enter text, say "This is plain text"
  2. Select whole paragraph and apply Bold
  3. Click once inside paragraph and try to apply any inline style from styles dropdown.

Result: In IE, the inline style gets applied to whole paragraph even when text was not selected after clicking once.


To reproduce for block styles:

  1. Create 3 paragraphs of text
  2. Select them all with a mouse and apply "Italic Title" from styles dropdown.
  3. Click at the end of second element (behind it actually)
  4. Apply "Special Container" style

Result: all paragraphs get styled while only should be changed.

NOTE: This issue has been reported on our support channel. User claims that the range.collapsed property returns false in IE whereas in e.g Chrome it returns true.

Change History (4)

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed

Changed 10 years ago by Jakub Ś

Attachment: 2015-05-28_1525.swf added

comment:2 Changed 9 years ago by Jakub Ś

Description: modified (diff)
Summary: IE: collapsed selection and inline style exchange wrapping inline element.IE: collapsed selection doesn't match styling.

Changed 9 years ago by Jakub Ś

Attachment: 2015-11-19_1643.swf added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy