rem: return element; 
add:    var anchorNode = editorShell.editorSelection.anchorNode; if (!anchorNode) return null; var node; if (anchorNode.firstChild) {  var offset = editorShell.editorSelection.anchorOffset; node = anchorNode.childNodes.item(offset) } else node = anchorNode;  while (node) { if (node.tagName) { var tagName = node.tagName.toLowerCase();   if (tagName == "body") break;  if ((tagName == "a" && node.href) || tagName == "ol" || tagName == "ul" || tagName == "dl" || tagName == "td" || tagName == "th" || tagName == "table") { return node; } } node = node.parentNode; } return null; 
context: function GetObjectForProperties(){  var element = editorShell.GetSelectedElement("");  if (!element)    element = editorShell.GetElementOrParentByTagName("href",null);  if (!element)    element = editorShell.GetElementOrParentByTagName("list",null);  if (!element)    element = editorShell.GetElementOrParentByTagName("td",null);  return element;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ac8f8cdc5a12cf45af0644ba140db853faaec07b/editor.js/buggy/editor/ui/composer/content/editor.js