rem: if (inst.fullpageTopContent) 
add: if (inst.fullpageTopContent && !tinyMCE.getParam("fullpage_hide_in_source_view", false)) { content = content.replace(/(\s)?mce\_[a-z_]+\=[^\s>]+(\s|\>)/i, ''); content = inst.fullpageTopContent + content + "\n</body>\n</html>"; }  break;  case "submit_content": if (inst.fullpageTopContent && tinyMCE.getParam("fullpage_hide_in_source_view", false)) 
context: 	cleanup : function(type, content, inst) {		switch (type) {			case "insert_to_editor":				var tmp = content.toLowerCase();				var pos = tmp.indexOf('<body'), pos2;				// Split page in header and body chunks				if (pos != -1) {					pos = tmp.indexOf('>', pos);					pos2 = tmp.lastIndexOf('</body>');					inst.fullpageTopContent = content.substring(0, pos + 1);					content = content.substring(pos + 1, pos2);					// tinyMCE.debug(inst.fullpageTopContent, content);				} else {					if (!inst.fullpageTopContent) {						var docType = tinyMCE.getParam("fullpage_default_doctype", '<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');						var enc = tinyMCE.getParam("fullpage_default_encoding", 'utf-8');						var title = tinyMCE.getParam("fullpage_default_title", 'Untitled document');						var lang = tinyMCE.getParam("fullpage_default_langcode", 'en');						var pi = tinyMCE.getParam("fullpage_default_xml_pi", true);						var ff = tinyMCE.getParam("fullpage_default_font_family", "");						var fz = tinyMCE.getParam("fullpage_default_font_size", "");						var ds = tinyMCE.getParam("fullpage_default_style", "");						var dtc = tinyMCE.getParam("fullpage_default_text_color", "");						// Xml encode it						title = title.replace(/&/g, '&amp;');						title = title.replace(/\"/g, '&quot;');						title = title.replace(/</g, '&lt;');						title = title.replace(/>/g, '&gt;');						tmp = '';						// Make default chunk						if (pi)							tmp += '<?xml version="1.0" encoding="' + enc + '"?>\n';						tmp += docType + '\n';						tmp += '<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="' + lang + '" xml:lang="' + lang + '">\n';						tmp += '<head>\n';						tmp += '\t<title>' + title + '</title>\n';						tmp += '\t<meta http-equiv="Content-Type" content="text/html; charset=' + enc + '" />\n';						tmp += '</head>\n';						tmp += '<body';						if (ff != '' || fz != '') {							tmp += ' style="';							if (ds != '')								tmp += ds + ";";							if (ff != '')								tmp += 'font-family: ' + ff + ";";							if (fz != '')								tmp += 'font-size: ' + fz + ";";							tmp += '"';						}						if (dtc != '')							tmp += ' text="' + dtc + '"';						tmp += '>\n';						inst.fullpageTopContent = tmp;					}				}				this._addToHead(inst);				break;			case "get_from_editor":				if (inst.fullpageTopContent)					content = inst.fullpageTopContent + content + "\n</body>\n</html>";				break;		}		// Pass through to next handler in chain		return content;	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/e8e3862e104280a24076077196c7b5713720de70/editor_plugin_src.js/clean/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js