Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 4515)
+++ /CKEditor/trunk/CHANGES.html (revision 4516)
@@ -65,5 +65,5 @@
#4651 : Fixed 'Deleted' and 'Inserted' text style is not rendering in wysiwyg mode and is wrong is source mode.
#4654 : Fixed 'CKEDITOR.config.font_defaultLabel(fontSize_defaultLabel)' is not working.
-
+ #3950 : Fixed table column insertion incorrect when selecting empty cell area.
CKEditor 3.0.1
Index: /CKEditor/trunk/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/selection/plugin.js (revision 4515)
+++ /CKEditor/trunk/_source/plugins/selection/plugin.js (revision 4516)
@@ -1,3 +1,3 @@
-/*
+/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
@@ -641,6 +641,8 @@
var startContainer = range.startContainer,
startOffset = range.startOffset;
+ // Limit the fix only to non-block elements.(#3950)
if ( startOffset == ( startContainer.getChildCount ?
- startContainer.getChildCount() : startContainer.getLength() ) )
+ startContainer.getChildCount() : startContainer.getLength() )
+ && !startContainer.isBlockBoundary() )
range.setStartAfter( startContainer );
else break;