Opened 14 years ago

Last modified 14 years ago

#6268 confirmed Bug

Tables causing problems with selection after switching to source mode and back

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.1
Keywords: Cc:

Description

Confirmed in IE7 @ Win XP.

When having a table in the article, the content above it is not properly handled by CKEditor. For example:

  • when clicking on a link, the "Unlink" button is not available in the toolbar
  • when clicking on the first paragraph, the following buttons are not selected: "Left Justify", "Text direction from left to right"

To reproduce, paste the following source in source mode:

<p>
	First line</p>
<p>
	<a href="http://www.google.com">http://www.google.com</a></p>
<table border="1" cellpadding="1" cellspacing="1" style="width: 500px">
	<tbody>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>

and switch to wysiwyg mode. Click on a link, result: the "Unlink" button is not available and "Left Justify" is not selected.

Note: you'll not be able to reproduce this issue if you don't switch to source mode first (so, when creating the same content manually, everything will work as expected... until you switch to source mode for a while).

Looks like a regression introduced in 3.2.1.

Attachments (1)

ckeditor_unlink_not_available.png (10.1 KB) - added by Wiktor Walc 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Wiktor Walc

comment:1 Changed 14 years ago by Wiktor Walc

Status: newconfirmed
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