﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6268	Tables causing problems with selection after switching to source mode and back	Wiktor Walc		"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."	Bug	confirmed	Normal		General	3.2.1			
