Opened 12 years ago

Last modified 12 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>

Change History (1)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed
Version: 3.1

Issue with div context menu options being unavailable on right-click has been reproducible in all browsers from CKEditor 3.1.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy