Opened 12 years ago
Closed 12 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 12 years ago by
Keywords: | IE8 IE9 added; ie 9 format text removed |
---|---|
Status: | new → confirmed |
Summary: | IE 9 Text Formatting Not Applying → IE 9 IE8 Text Formatting Not Applying |
Version: | 4.0 Beta → 4.0 (GitHub - master) |
comment:3 Changed 12 years ago by
Milestone: | → CKEditor 4.0 |
---|---|
Resolution: | → fixed |
Status: | confirmed → closed |
Fixed after porting v3's changes to v4.
comment:4 Changed 12 years ago by
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 follow-up: 6 Changed 12 years ago by
WFM for nightly build in IE9, could u be more specific on the way of how the text selection is made?
comment:6 Changed 12 years ago by
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 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:8 Changed 12 years ago by
Keywords: | IE8 removed |
---|---|
Status: | reopened → confirmed |
Summary: | IE 9 IE8 Text Formatting Not Applying → IE 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?
comment:9 Changed 12 years ago by
I worked on reduced TC of this ticket, it shows that the bug is independent of v3 bug #9097:
- It affects only when selection from right-to-left;
- It affects only when BR is contained in the text selection;
- It's irrelevant of the selection end.
And IE10/9 are currently affected by this bug.
comment:10 Changed 12 years ago by
Component: | General → Core : 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 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
It's fixed by master commit:
https://github.com/ckeditor/ckeditor-dev/commit/d8c53c14b86dd244f892bdef025f9eb43a414535
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