Opened 11 years ago
Last modified 11 years ago
#11506 confirmed Bug
Image inside floating DIV looses selection with Context Menu on IE
Reported by: | Jose Flores | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Context Menu | Version: | 4.0 |
Keywords: | IE | Cc: |
Description
Descriptive summary: When you move the focus out of the image area and then do a right clic on the image, Image Properties option is not displayed in the context menu
- I just erased a very detailed steps to reproduce and other information because akismet rejected my submit lots of times -
Attachments (3)
Change History (6)
Changed 11 years ago by
Attachment: | contextmenu.patch added |
---|
comment:2 Changed 11 years ago by
I have attached a possible patch which works for me (tested on IE9, IE10 and IE11). Remaining tasks would be test it on previous versions of IE that you support and of course validate if this change it's ok for you. The patch is over the contextmenu plugin https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/contextmenu/plugin.js#L98.
By the way, this is pretty similar to the patch for the same issue on the old FCKEditor in http://dev.ckeditor.com/changeset/2375 I hope this can be useful for you.
comment:3 Changed 11 years ago by
Keywords: | IE added; image contextmenu ie removed |
---|---|
Status: | new → confirmed |
Version: | 4.3.1 → 4.0 |
Problem can be reproduced from CKEditor 4.0 in IE9+
What you need to do is:
- Switch to source and paste provided code
- Switch to wysiwyg and left-click on image
- Press right arrow
- Right-click
After step 3 whole image will be selected, there will be native border around it (Please see win8 IE10.jpg).
In IE11 this problem can only be reproduced from CKEditor 4.3. When you click on image (Step 2), not only the border shows but also visible selection on image. This selection could only be seen for a split of second in older versions of editor (Please see win7 IE11.jpg).
Changed 11 years ago by
Attachment: | win8 IE10.png added |
---|
Changed 11 years ago by
Attachment: | Win7 IE11.png added |
---|
Descriptive summary: When you move the focus out of the image area and then do a right clic on the image, Image Properties option is not displayed in the context menu
Steps to reproduce:
Expected: Image Properties option should be displayed on the context menu
Actual: Image Properties option is not displayed, only Paste option
Browser and OS: It only happens on IE. (Chrome, Safari and Firefox seems to work fine). I had only chance to see this behaviour on IE9, IE10 and IE11
Other: There is an old ticket which describes the same bug/behaviour: http://dev.ckeditor.com/ticket/798 and there was a fix for that but in the predecessor of CKEditor, FCKEditor. I have verified this in the ckeditor demo and also the "Nightly Build" version.