Opened 9 years ago

Last modified 9 years ago

#12778 confirmed Bug

Cannot delete a paragraph inside the table if widget is inside a table cell — at Initial Version

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Support Cc:

Description

Found in Chrome, confirmed also on Firefox.

  1. Create a table
  2. Insert a widget (e.g. Enhanced Image) in a table cell (note: it works only in CKEditor 4.4.1+ #11798)
  3. See that below widget an empty paragraph is created. If this additional space is disturbing for somebody, one cannot remove it.

To reproduce try this code:

<table border="1" cellpadding="1" cellspacing="1" style="width:500px">
	<tbody>
		<tr>
			<td>&nbsp;</td>
			<td>
			<figure class="image"><img alt="dfgdfg" height="480" src="assets/image1.jpg" width="377" />
			<figcaption>Caption</figcaption>
			</figure>

			<p>&nbsp;</p>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

There is one interesting method to actually remove the element. But this is so counter-intuitive that it should not be considered as a correct solution.

  1. Put the cursor in the <p> element that you want to removed
  2. Select p in elements path (see that br showed up in the elements path)
  3. Press Backspace. Now the paragraph is gone (although slightly different visual result is in Chrome and Firefox).

Change History (1)

Changed 9 years ago by Wiktor Walc

Attachment: widget_table.png added
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