Ticket #8772 (closed Bug: duplicate)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: pauljvrw 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

comment:1 Changed 3 years ago by matti

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 3 years ago by matti

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

comment:3 Changed 2 years ago by j.swiderski

  • Status changed from new to closed
  • Keywords Picture, table, menu, dialog removed
  • Version 3.6.3 (SVN - trunk) deleted
  • Resolution set to duplicate

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy