rem: _insertText : function(content, bLinebreaks) { if (content && content.length > 0) { if (bLinebreaks) {  if (tinyMCE.getParam("paste_create_paragraphs", true)) { var rl = tinyMCE.getParam("paste_replace_list", '\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(','); for (var i=0; i<rl.length; i+=2) content = content.replace(new RegExp(rl[i], 'gi'), rl[i+1]);  content = tinyMCE.regexpReplace(content, "\r\n\r\n", "</p><p>", "gi"); content = tinyMCE.regexpReplace(content, "\r\r", "</p><p>", "gi"); content = tinyMCE.regexpReplace(content, "\n\n", "</p><p>", "gi");   if ((pos = content.indexOf('</p><p>')) != -1) { tinyMCE.execCommand("Delete");  var node = tinyMCE.selectedInstance.getFocusElement();   var breakElms = new Array();  do { if (node.nodeType == 1) {  if (node.nodeName == "TD" || node.nodeName == "BODY") break;  breakElms[breakElms.length] = node; } } while(node = node.parentNode);  var before = "", after = "</p>"; before += content.substring(0, pos);  for (var i=0; i<breakElms.length; i++) { before += "</" + breakElms[i].nodeName + ">"; after += "<" + breakElms[(breakElms.length-1)-i].nodeName + ">"; }  before += "<p>"; content = before + content.substring(pos+7) + after; } }  if (tinyMCE.getParam("paste_create_linebreaks", true)) { content = tinyMCE.regexpReplace(content, "\r\n", "<br />", "gi"); content = tinyMCE.regexpReplace(content, "\r", "<br />", "gi"); content = tinyMCE.regexpReplace(content, "\n", "<br />", "gi"); } }  tinyMCE.execCommand("mceInsertRawHTML", false, content); } }, 
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: 	_insertText : function(content, bLinebreaks) { 		if (content && content.length > 0) {			if (bLinebreaks) { 				// Special paragraph treatment 				if (tinyMCE.getParam("paste_create_paragraphs", true)) {					var rl = tinyMCE.getParam("paste_replace_list", '\u2122,<sup>TM</sup>,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');					for (var i=0; i<rl.length; i+=2)						content = content.replace(new RegExp(rl[i], 'gi'), rl[i+1]);					content = tinyMCE.regexpReplace(content, "\r\n\r\n", "</p><p>", "gi"); 					content = tinyMCE.regexpReplace(content, "\r\r", "</p><p>", "gi"); 					content = tinyMCE.regexpReplace(content, "\n\n", "</p><p>", "gi"); 					// Has paragraphs 					if ((pos = content.indexOf('</p><p>')) != -1) { 						tinyMCE.execCommand("Delete"); 						var node = tinyMCE.selectedInstance.getFocusElement(); 						// Get list of elements to break 						var breakElms = new Array(); 						do { 							if (node.nodeType == 1) { 								// Don't break tables and break at body 								if (node.nodeName == "TD" || node.nodeName == "BODY") 									break; 										breakElms[breakElms.length] = node; 							} 						} while(node = node.parentNode); 						var before = "", after = "</p>"; 						before += content.substring(0, pos); 						for (var i=0; i<breakElms.length; i++) { 							before += "</" + breakElms[i].nodeName + ">"; 							after += "<" + breakElms[(breakElms.length-1)-i].nodeName + ">"; 						} 						before += "<p>"; 						content = before + content.substring(pos+7) + after; 					} 				} 				if (tinyMCE.getParam("paste_create_linebreaks", true)) {					content = tinyMCE.regexpReplace(content, "\r\n", "<br />", "gi"); 					content = tinyMCE.regexpReplace(content, "\r", "<br />", "gi"); 					content = tinyMCE.regexpReplace(content, "\n", "<br />", "gi"); 				}			} 					tinyMCE.execCommand("mceInsertRawHTML", false, content); 		}	},
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