rem: _convertMiddots : function(div, search, class_name) { var mdot = String.fromCharCode(183); var bull = String.fromCharCode(8226);  var nodes = div.getElementsByTagName("p"); var prevul; for (var i=0; i<nodes.length; i++) { var p = nodes[i];   if (p.innerHTML.indexOf(search) == 0) { var ul = document.createElement("ul");  if (class_name) ul.className = class_name;   var li = document.createElement("li"); li.innerHTML = p.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), ''); ul.appendChild(li);   var np = p.nextSibling; while (np) {   if (np.nodeType == 3 && /^\s$/m.test(np.nodeValue)) { np = np.nextSibling; continue; }  if (search == mdot) { if (np.nodeType == 1 && /^o(\s+|&nbsp;)/.test(np.innerHTML)) {  if (!prevul) { prevul = ul; ul = document.createElement("ul"); prevul.appendChild(ul); } np.innerHTML = np.innerHTML.replace(/^o/, ''); } else {  if (prevul) { ul = prevul; prevul = null; }  if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0) break; } } else {  if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0) break; }  var cp = np.nextSibling; var li = document.createElement("li"); li.innerHTML = np.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), ''); np.parentNode.removeChild(np); ul.appendChild(li); np = cp; }  p.parentNode.replaceChild(ul, p);  return true; } }  return false; }, 
add: tinyMCE.importPluginLanguagePack('paste','en,tr,sv,cs,zh_cn,fr_ca,da,he,nb,de,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,pl,nl,fr,pt_br');var TinyMCE_PastePlugin={getInfo:function(){return{longname:'Paste text/word',author:'Moxiecode Systems',authorurl:'http: 
context: 	_convertMiddots : function(div, search, class_name) {		var mdot = String.fromCharCode(183);		var bull = String.fromCharCode(8226);		var nodes = div.getElementsByTagName("p");		var prevul;		for (var i=0; i<nodes.length; i++) {			var p = nodes[i];			// Is middot			if (p.innerHTML.indexOf(search) == 0) {				var ul = document.createElement("ul");				if (class_name)					ul.className = class_name;				// Add the first one				var li = document.createElement("li");				li.innerHTML = p.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), '');				ul.appendChild(li);				// Add the rest				var np = p.nextSibling;				while (np) {				        // If the node is whitespace, then				        // ignore it and continue on.				        if (np.nodeType == 3 && /^\s$/m.test(np.nodeValue)) {				                np = np.nextSibling;				                continue;				        }										if (search == mdot) {					        if (np.nodeType == 1 && /^o(\s+|&nbsp;)/.test(np.innerHTML)) {					                // Second level of nesting					                if (!prevul) {					                        prevul = ul;					                        ul = document.createElement("ul");					                        prevul.appendChild(ul);					                }					                np.innerHTML = np.innerHTML.replace(/^o/, '');					        } else {					                // Pop the stack if we're going back up to the first level					                if (prevul) {					                        ul = prevul;					                        prevul = null;					                }					                // Not element or middot paragraph					                if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0)					                        break;					        }					} else {					        // Not element or middot paragraph					        if (np.nodeType != 1 || np.innerHTML.indexOf(search) != 0)					                break;				        }					var cp = np.nextSibling;					var li = document.createElement("li");					li.innerHTML = np.innerHTML.replace(new RegExp('' + mdot + '|' + bull + '|--list--|&nbsp;', "gi"), '');					np.parentNode.removeChild(np);					ul.appendChild(li);					np = cp;				}				p.parentNode.replaceChild(ul, p);				return true;			}		}		return false;	},
meta: 3433	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3433/2b96969ee2758cbc8126f3f1ebee7182fd118d7e/editor_plugin.js/clean/wp-includes/js/tinymce/plugins/paste/editor_plugin.js