Opened 12 years ago

Closed 12 years ago

#8772 closed Bug (duplicate)

Right click on picture within a table misses 'image properties' option

Reported by: Paul Veldema Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

In the ckeditor demo switch to code view and paste the simple html below and switch back to normal view.

<table>
	<tbody>
		<tr>
			<td>
				<img alt="" src="http://a.cksource.com/c/1/inc/gfx/logo.png" /></td>
		</tr>
	</tbody>
</table>

With a right mouse click on the picture the menu that pops up does not contain the 'picture properties' option. Possibly related: with a double left mouse click on the image the URL field in the then opened 'picture properties' dialog window is empty.

The problem occurs on Chrome and on Firefox. IE9 does not have the above problems.

Change History (3)

comment:1 Changed 12 years ago by Matti Järvinen

This is interesting with two cells in the table image properties are visible and work as expected, even when the other cell is empty.

With following code div properties don't show up in context menu.

<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>

This can be related to editor.getSelection(); since with original example by clicking image button on the menu when you have selected the image by clicking it you get empty dialog too.

In addition selection path doesn't update to reflect image has been selected either.

comment:2 Changed 12 years ago by Matti Järvinen

Oh, and this worked as it should at least in CKEditor 3.5.4 (SVN) revision 6829

comment:3 Changed 12 years ago by Jakub Ś

Keywords: Picture table menu dialog removed
Resolution: duplicate
Status: newclosed
Version: 3.6.3 (SVN - trunk)

DUP of #8445

With following code div properties don't show up in context menu.

@Matti could you open new ticket for that - it seems that div properties hasn't been displayed in menu from CKEditor 3.0, so your example is different problem.

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