Index: _source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- _source/plugins/tabletools/dialogs/tableCell.js	(revision 3477)
+++ _source/plugins/tabletools/dialogs/tableCell.js	Thu Jun 25 16:46:44 CST 2009
@@ -314,17 +314,15 @@
 			],
 			onShow : function()
 			{
-				// Get the selected table cell.
-				var startElement = editor.getSelection().getStartElement();
-				this.cell = startElement.getAscendant( 'td', true ) || startElement.getAscendant( 'th', true );
-
-				// Call setupContent().
-				this.setupContent( this.cell );
+				this.cells = CKEDITOR.plugins.tabletools.getSelectedCells(
+					this._.editor.getSelection() );
+				this.setupContent( this.cells[ 0 ] );
 			},
 			onOk : function()
 			{
-				// Call commitContent().
-				this.commitContent( this.cell );
+				var cells = this.cells
+				for ( var i = 0 ; i < cells.length ; i++ )
+					this.commitContent( cells[ i ] );
 			}
 		};
 	} );
Index: _source/plugins/tabletools/plugin.js
===================================================================
--- _source/plugins/tabletools/plugin.js	(revision 3712)
+++ _source/plugins/tabletools/plugin.js	Thu Jun 25 16:46:44 CST 2009
@@ -416,7 +416,7 @@
 		}
 	}
 
-	CKEDITOR.plugins.add( 'tabletools',
+	CKEDITOR.plugins.tabletools =
 	{
 		init : function( editor )
 		{
@@ -544,12 +544,11 @@
 							getItems : function()
 							{
 								var cells = getSelectedCells( editor.getSelection() );
-
 								return {
 									tablecell_insertBefore : CKEDITOR.TRISTATE_OFF,
 									tablecell_insertAfter : CKEDITOR.TRISTATE_OFF,
 									tablecell_delete : CKEDITOR.TRISTATE_OFF,
-									tablecell_properties : cells.length == 1 ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
+									tablecell_properties : cells.length > 0 ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
 								};
 							}
 						},
@@ -688,6 +687,10 @@
 							return null;
 					} );
 			}
-		}
-	} );
+		},
+
+		getSelectedCells : getSelectedCells
+
+	};
+	CKEDITOR.plugins.add( 'tabletools', CKEDITOR.plugins.tabletools );
 })();
Index: CHANGES.html
===================================================================
--- CHANGES.html	(revision 3770)
+++ CHANGES.html	Thu Jun 25 12:18:52 CST 2009
@@ -46,6 +46,8 @@
 	<ul>
 		<li><a href="http://dev.fckeditor.net/ticket/3819">#3819</a> : The cursor was not visible
 			when applying style to collapsed selections in Firefox 2.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/3830">#3830</a> : Table cell properties dialog
+			doesn't apply to all selected cells.</li>
 	</ul>
 	<h3>
 		CKEditor 3.0 RC</h3>
