rem: while (node != null && (node = node.nextSibling) != null) { if (node.nodeName == 'BR') 
add: if (node == null) return;   if (elm && elm.nodeName == "") { var para = doc.createElement("p");  while (elm.firstChild) para.appendChild(elm.firstChild);  elm.parentNode.insertBefore(para, elm); elm.parentNode.removeChild(elm);  var rng = rng.cloneRange(); rng.setStartBefore(node.nextSibling); rng.setEndAfter(node.nextSibling); rng.extractContents();  this.selectNode(node.nextSibling, true, true); }   var para = tinyMCE.getParentBlockElement(node); if (para != null && para.nodeName.toLowerCase() == 'p' && evt_type == "keypress") { var htm = para.innerHTML; var block = tinyMCE.getParentBlockElement(node);   if (htm == "" || htm == "&nbsp;" || block.nodeName.toLowerCase() == "li") { var prevElm = para.previousSibling;  while (prevElm != null && prevElm.nodeType != 1) prevElm = prevElm.previousSibling;  if (prevElm == null) return false;   var nodes = tinyMCE.getNodeTree(prevElm, new Array(), 3); var lastTextNode = nodes.length == 0 ? null : nodes[nodes.length-1];   if (lastTextNode != null) this.selectNode(lastTextNode, true, false, false);   para.parentNode.removeChild(para);    return true; } }   /*	while (node != null && (node = node.nextSibling) != null) { if (node.nodeName.toLowerCase() == 'br') 
context: function TinyMCEControl__handleBackSpace() {	var sel = this.contentWindow.getSelection();	if (sel == null)		return false;	var rng = sel.getRangeAt(0);	var node = rng.startContainer;	while (node != null && (node = node.nextSibling) != null) {		if (node.nodeName == 'BR')			node.parentNode.removeChild(node);		else if (node.nodeType == 1) // Break at other element			break;	}	return false;}
meta: 1948	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1948/914f29b169169eaf678616905b5062afd73de30a/tiny_mce_src.js/buggy/www/extras/tinymce/jscripts/tiny_mce/tiny_mce_src.js