Opened 13 years ago
Last modified 13 years ago
#8787 confirmed Bug
Context menu skips first child of td
Reported by: | Matti Järvinen | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Context Menu | Version: | 3.1 |
Keywords: | Cc: |
Description
With following code div properties don't show up in context menu when right clicking on image
<table> <tbody> <tr> <td> <div class="test"> <img alt="a" src="http://a.cksource.com/c/1/inc/gfx/logo.png" /></div> </td> </tr> </tbody> </table>
In addition selection path updates to reflect image has been selected. In #8445 without the div this doesn't happen. It would seem dialog.getSelectedElement() skips first child of td.
<table> <tbody> <tr> <td> <img alt="Silva.jpg" src="/images/Silva.jpg" style="width: 100px; height: 133px;" /></td> </tr> </tbody> </table>
Issue with div context menu options being unavailable on right-click has been reproducible in all browsers from CKEditor 3.1.