Opened 12 years ago
Last modified 10 years ago
#10631 confirmed Bug
Content Advisor in IE8 Causes 4.1.2 to not function
Reported by: | Jared Dutton | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1.2 |
Keywords: | IE8 IBM | Cc: | satya_minnekanti@…, irinauru@… |
Description
When Content Advisor is turned on in IE8, regardless of the restrictiveness of the filtering options, CKEditor will not go into an editable state or enable any of the buttons.
I have validated this using the CKEditor Samples > Replace Textarea Elements by Class name. It works properly in 4.1.1.
Attachments (1)
Change History (8)
comment:1 Changed 12 years ago by
Keywords: | content advisor ie8 removed |
---|
comment:2 Changed 12 years ago by
Keywords: | IE8 added |
---|---|
Status: | new → confirmed |
Problem can be reproduced from CKEditor 4.1.2 and only in IE8.
All you have to do is turn on content advisor and reload page. CKEditor will show up with buttons disabled and no content. You can click on dropdowns but you will only get "hasFocus or this.getSelection is null or not an object" error.
comment:3 Changed 12 years ago by
Please disregard file, it included some modifications in it that I left in. Found a workaround. Modified line 73 of plugins/wysiwygarea/plugin.js to:
onLoad();
from:
!useOnloadEvent && onLoad();
This will cause the onLoad to get called twice in IE without Content Advisor, but gets it working with Content Advisor (and keeps our clients happy for now).
Side note that may help with debugging: Line 24 of the same file (plugins/wysiwygarea/plugin.js), the call to CKEDITOR.tools.fixDomain seems to be the cause of Content Advisor not working, but removing it causes IE to stop working for non Content Advisor usage.
Sorry for the messy comment :-S.
comment:4 Changed 10 years ago by
Cc: | satya_minnekanti@… added |
---|
comment:5 Changed 10 years ago by
Cc: | irinauru@… added |
---|---|
Keywords: | IBM added |
comment:6 Changed 10 years ago by
Any updates regarding this ticket? This is still an issue in 4.4.6 and its a high priority for us as this was reported by one of our customers.
comment:7 Changed 10 years ago by
I've checked the solution proposed by @jaredaz and it indeed makes the editor work with Content Advisory. Unfortunately, editor starts throwing errors in normal mode, so additional check is needed in onLoad
. I pushed a prototype of fix in branch:t/10631.
Unfortunately, this part of code is crucial for editor and also, as we could see (now and in the past), deals with a pretty unstable environment. A patch will require far more work and tests. Also, I've already run some tests on IE8 with Content Advisory on and many of them failed, so it's hard to say yet whether the fix really works and doesn't break something else.
Steps to Reproduce: