Opened 7 years ago

Closed 7 years ago

#9452 closed Bug (fixed)

IE 9 Text Formatting Not Applying

Reported by: TomNM Owned by:
Priority: Normal Milestone: CKEditor 4.0
Component: Core : Selection Version: 3.6.3
Keywords: IE9 Cc:

Description

In IE 9, NOT in compatibility mode, paste the following into http://nightly-v4.ckeditor.com/3563/samples/replacebycode.html in source mode.

<p>Beamsville<br />
6102 Beamsville-Union City Road<br />
Greenville, Ohio 34331<br />
937-547-0009<br />
Steve Short</p>

Switch back to wysiwyg mode.

Select the first 3 lines of text.

Attempt to bold or underline or apply a font to that text. The text will be deselected and the formatting will not be applied. I did not see a js error.

Change History (10)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: IE8 IE9 added; ie 9 format text removed
Status: newconfirmed
Summary: IE 9 Text Formatting Not ApplyingIE 9 IE8 Text Formatting Not Applying
Version: 4.0 Beta4.0 (GitHub - master)

This is the same ticket as #9097.

If you start selection between text and left editor border you will get this effect in IE8 and IE9 when applying inline style.

#9097 was fixed for v3 but this problem occurs in v4

comment:3 Changed 7 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.0
Resolution: fixed
Status: confirmedclosed

Fixed after porting v3's changes to v4.

comment:4 Changed 7 years ago by TomNM

While I confirm that this is fixed in IE 8, it is not fixed in IE 9. I can still duplicate it in IE 9 at http://nightly-v4.ckeditor.com/3563/samples/replacebycode.html and in my fresh nightly install.

comment:5 Changed 7 years ago by Garry Yao

WFM for nightly build in IE9, could u be more specific on the way of how the text selection is made?

comment:6 in reply to:  5 Changed 7 years ago by TomNM

Replying to garry.yao:

WFM for nightly build in IE9, could u be more specific on the way of how the text selection is made?

............

In IE 9, NOT in compatibility mode, paste the following into ​http://nightly-v4.ckeditor.com/3563/samples/replacebycode.html in source mode.

<p>Beamsville<br />
6102 Beamsville-Union City Road<br />
Greenville, Ohio 34331<br />
937-547-0009<br />
Steve Short</p>
Switch back to wysiwyg mode.

Select the first 3 lines of text normally right to left. Naturally and instinctively, you'll probably end your selection with the cursor outside of the bounds of the editor.

Attempt to bold or underline or apply a font to that text. The text will be deselected and the formatting will not be applied. I did not see a js error.

comment:7 Changed 7 years ago by Jakub Ś

Resolution: fixed
Status: closedreopened

comment:8 Changed 7 years ago by Jakub Ś

Keywords: IE8 removed
Status: reopenedconfirmed
Summary: IE 9 IE8 Text Formatting Not ApplyingIE 9 Text Formatting Not Applying
Version: 4.0 (GitHub - master)3.6.3

Sorry guys I haven’t checked this well enough. Bug #9097 fixed problems for IE8 and TC presented there for IE9 but TC presented in this ticket can still be reproduced in IE9 from CKEditor 3.6.3 rev. [7374].

Please note that this is only happening when you select 3 lines from left to right and finish selection outside of editor or between text and editor border. Selecting right to left works fine.

Does MileStone still apply in this case?

Last edited 7 years ago by Jakub Ś (previous) (diff)

comment:9 Changed 7 years ago by Garry Yao

I worked on reduced TC of this ticket, it shows that the bug is independent of v3 bug #9097:

  1. It affects only when selection from right-to-left;
  2. It affects only when BR is contained in the text selection;
  3. It's irrelevant of the selection end.

And IE10/9 are currently affected by this bug.

comment:10 Changed 7 years ago by Garry Yao

Component: GeneralCore : Selection

It's confirmed that the change proposed in #9535 patch can resolve this issue, we'd wait for that ticket to be closed first at the moment.

comment:11 Changed 7 years ago by Garry Yao

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