rem: if (element) { var name = element.localName.toLowerCase(); if (name != "body" && name != "table" && name != "td" && name != "th" && name != "caption" && name != "tr") { var htmlEditor = gEditor.QueryInterface(Components.interfaces.nsIHTMLEditor); if (htmlEditor && event.target) { htmlEditor.selectElement(event.target); event.preventDefault(); } } 
add: var name = element.localName.toLowerCase(); if (name != "body" && name != "table" && name != "td" && name != "th" && name != "caption" && name != "tr") { gEditor.selectElement(event.target); event.preventDefault(); 
context: function EditorClick(event){  if (!event)    return;  if (event.detail == 2)  {    EditorDblClick(event);    return;  }  // In Show All Tags Mode,  // single click selects entire element,  //  except for body and table elements  if (event.target && gEditorDisplayMode == DisplayModeAllTags)  {    try {      var element = event.target.QueryInterface( Components.interfaces.nsIDOMElement);      if (element)      {        var name = element.localName.toLowerCase();        if (name != "body" && name != "table" &&            name != "td" && name != "th" && name != "caption" && name != "tr")        {                    var htmlEditor = gEditor.QueryInterface(Components.interfaces.nsIHTMLEditor);          if (htmlEditor && event.target)          {            htmlEditor.selectElement(event.target);            event.preventDefault();          }        }      }    } catch (e) {}  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d56262a401c9d60bbef8fdbf3317ef55705279f1/editor.js/buggy/editor/ui/composer/content/editor.js