rem: if (!isHTMLEditor()) 
add: if (!gEditor || !isHTMLEditor()) 
context: function GetObjectForProperties(){  if (!isHTMLEditor())    return null;  var element = gEditor.getSelectedElement("");  if (element)    return element;  // Find nearest parent of selection anchor node  //   that is a link, list, table cell, or table  var anchorNode = gEditor.selection.anchorNode;  if (!anchorNode) return null;  var node;  if (anchorNode.firstChild)  {    // Start at actual selected node    var offset = gEditor.selection.anchorOffset;    // Note: If collapsed, offset points to element AFTER caret,    //  thus node may be null    node = anchorNode.childNodes.item(offset);  }  if (!node)    node = anchorNode;  while (node)  {    if (node.nodeName)    {      var nodeName = node.nodeName.toLowerCase();      // Done when we hit the body      if (nodeName == "body") break;      if ((nodeName == "a" && node.href) ||          nodeName == "ol" || nodeName == "ul" || nodeName == "dl" ||          nodeName == "td" || nodeName == "th" ||          nodeName == "table")      {        return node;      }    }    node = node.parentNode;  }  return null;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1010f8aeed1d47f0f0a00649c46266c1855c197c/editor.js/buggy/editor/ui/composer/content/editor.js