rem: var cell = window.editorShell.GetElementOrParentByTagName("td", null); return (cell != null && (cell.colSpan > 1 || cell.rowSpan > 1)); 
add: var tagNameObj = new Object; var countObj = new Object; var cell = window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj);    return ( cell && (tagNameObj.value == "td") && (countObj.value <= 1) && IsSelectionInOneCell() ); 
context:   isCommandEnabled: function(aCommand, dummy)  {    if (window.editorShell && window.editorShell.documentEditable)    {      var cell = window.editorShell.GetElementOrParentByTagName("td", null);      return (cell != null && (cell.colSpan > 1 || cell.rowSpan > 1));    }    return false;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d0a972c9891b24dc2df2137653ae8ff0fa218aa0/ComposerCommands.js/clean/editor/ui/composer/content/ComposerCommands.js