Index: /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js
===================================================================
--- /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js	(revision 835)
+++ /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js	(revision 836)
@@ -89,7 +89,8 @@
 
 		var path = new FCKElementPath( startContainer ) ;
+		var firstBlock = path.Block || path.BlockLimit ;
 		if ( FCKIndentCommand._UseIndentClasses )
 		{
-			var indentClass = path.Block.className.match( FCKIndentCommand._ClassNameRegex ) ;
+			var indentClass = firstBlock.className.match( FCKIndentCommand._ClassNameRegex ) ;
 			var indentStep = 0 ;
 			if ( indentClass != null )
@@ -105,5 +106,5 @@
 		else
 		{
-			var indent = parseInt( path.Block.style[this.IndentCSSProperty], 10 ) ;
+			var indent = parseInt( firstBlock.style[this.IndentCSSProperty], 10 ) ;
 			if ( isNaN( indent ) )
 				indent = 0 ;
