Opened 11 years ago
Last modified 9 years ago
#11234 confirmed Bug
IE 11 doesn't like links with display:inline-block
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 |
Keywords: | IE11 | Cc: |
Description
It's hard to debug, but a simple fix should be enough:
With IE 11, load for example http://nightly.ckeditor.com/13-11-29-07-05/standard/samples/api.html
make sure to disable ACF for our tests, in the console: CKEDITOR.instances.editor1.filter.disabled=true
Then insert this "innocent" HTML <a style="display:inline-block">x</a> with the button available (using the console for this call seems to work fine, might be related to document focus)
IE11 throws an error in the scrollIntoView
to avoid it, it seems that it could be enough to check that type exists:
if ( this.type && this.type != CKEDITOR.SELECTION_NONE )
I just hope that you're able to reproduce it because I've spent most of this evening trying to find out what's wrong with IE11
Problem can be reproduced from CKEditor 4.3 in IE11 only. Error thrown is:
SCRIPT5007: Can't get "scrollIntoView" property from undefined object
URI: api.html
Line: 2127