"+o.encode(r).replace(/\r?\n\r?\n/g,"
").replace(/\r?\n/g,"
")+"
]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"
$1
")}if(b(k,"paste_convert_middot_lists")){d([[//gi,"$&__MCE_ITEM__"],[/(]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"],[/(]+(?:MsoListParagraph)[^>]+>)/gi,"$1__MCE_ITEM__"]])}d([//gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\u00a0"]]);do{l=j.length;j=j.replace(/(!(ol|ul)[^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1");j=j.replace(/(<(ol|ul)[^>]*\s)(?:id|name|language|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(l!=j.length);if(b(k,"paste_retain_style_properties").replace(/^none$/i,"").length==0){j=j.replace(/<\/?span[^>]*>/gi,"")}else{d([[/([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(t,h,r){var u=[],o=0,q=n(f(r).replace(/"/gi,"'"),";");c(q,function(s){var w,y,z=n(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":u[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":u[o++]="text-align:"+y;return;case"vert-align":u[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":u[o++]="color:"+y;return;case"mso-background":case"mso-highlight":u[o++]="background:"+y;return;case"mso-default-height":u[o++]="min-height:"+x(y);return;case"mso-default-width":u[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":u[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){u[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){u[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}u[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+u.join(";")+'"'}else{return h}}]])}}if(b(k,"paste_convert_headers_to_strong")){d([[/ "],[/<\/h[1-6][^>]*>/gi,"
]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*
"],[/^(.*<\/p>)(
)$/,"
$1"]])}else{e([[/\n\n/g,"
"],[/^(.*<\/p>)(
)$/,"
$1"],[/\n/g," N){N=x+Q}}if(R){if(y+R>M){M=y+R}}}}}G.removeClass(G.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=O;y<=M;y++){for(x=P;x<=N;x++){if(g[y][x]){G.addClass(g[y][x].elm,"mceSelected")}}}}}d.extend(this,{deleteTable:r,split:C,merge:p,insertRow:l,insertCol:h,deleteCols:n,deleteRows:m,cutRows:E,copyRows:J,pasteRows:B,getPos:F,setStartCell:w,setEndCell:v})}d.create("tinymce.plugins.TablePlugin",{init:function(g,h){var f,m,j=true;function l(p){var o=g.selection,n=g.dom.getParent(p||o.getNode(),"table");if(n){return new b(n,g.dom,o)}}function k(){g.getBody().style.webkitUserSelect="";if(j){g.dom.removeClass(g.dom.select("td.mceSelected,th.mceSelected"),"mceSelected");j=false}}e([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(n){g.addButton(n[0],{title:n[1],cmd:n[2],ui:n[3]})});if(!d.isIE){g.onClick.add(function(n,o){o=o.target;if(o.nodeName==="TABLE"){n.selection.select(o);n.nodeChanged()}})}g.onPreProcess.add(function(o,p){var n,q,r,t=o.dom,s;n=t.select("table",p.node);q=n.length;while(q--){r=n[q];t.setAttrib(r,"data-mce-style","");if((s=t.getAttrib(r,"width"))){t.setStyle(r,"width",s);t.setAttrib(r,"width","")}if((s=t.getAttrib(r,"height"))){t.setStyle(r,"height",s);t.setAttrib(r,"height","")}}});g.onNodeChange.add(function(q,o,s){var r;s=q.selection.getStart();r=q.dom.getParent(s,"td,th,caption");o.setActive("table",s.nodeName==="TABLE"||!!r);if(r&&r.nodeName==="CAPTION"){r=0}o.setDisabled("delete_table",!r);o.setDisabled("delete_col",!r);o.setDisabled("delete_table",!r);o.setDisabled("delete_row",!r);o.setDisabled("col_after",!r);o.setDisabled("col_before",!r);o.setDisabled("row_after",!r);o.setDisabled("row_before",!r);o.setDisabled("row_props",!r);o.setDisabled("cell_props",!r);o.setDisabled("split_cells",!r);o.setDisabled("merge_cells",!r)});g.onInit.add(function(r){var p,t,q=r.dom,u;f=r.windowManager;r.onMouseDown.add(function(w,z){if(z.button!=2){k();t=q.getParent(z.target,"td,th");p=q.getParent(t,"table")}});q.bind(r.getDoc(),"mouseover",function(C){var A,z,B=C.target;if(t&&(u||B!=t)&&(B.nodeName=="TD"||B.nodeName=="TH")){z=q.getParent(B,"table");if(z==p){if(!u){u=l(z);u.setStartCell(t);r.getBody().style.webkitUserSelect="none"}u.setEndCell(B);j=true}A=r.selection.getSel();try{if(A.removeAllRanges){A.removeAllRanges()}else{A.empty()}}catch(w){}C.preventDefault()}});r.onMouseUp.add(function(F,G){var z,B=F.selection,H,I=B.getSel(),w,C,A,E;if(t){if(u){F.getBody().style.webkitUserSelect=""}function D(J,L){var K=new d.dom.TreeWalker(J,J);do{if(J.nodeType==3&&d.trim(J.nodeValue).length!=0){if(L){z.setStart(J,0)}else{z.setEnd(J,J.nodeValue.length)}return}if(J.nodeName=="BR"){if(L){z.setStartBefore(J)}else{z.setEndBefore(J)}return}}while(J=(L?K.next():K.prev()))}H=q.select("td.mceSelected,th.mceSelected");if(H.length>0){z=q.createRng();C=H[0];E=H[H.length-1];z.setStartBefore(C);z.setEndAfter(C);D(C,1);w=new d.dom.TreeWalker(C,q.getParent(H[0],"table"));do{if(C.nodeName=="TD"||C.nodeName=="TH"){if(!q.hasClass(C,"mceSelected")){break}A=C}}while(C=w.next());D(A);B.setRng(z)}F.nodeChanged();t=u=p=null}});r.onKeyUp.add(function(w,z){k()});r.onKeyDown.add(function(w,z){n(w)});r.onMouseDown.add(function(w,z){if(z.button!=2){n(w)}});function o(D,z,A,F){var B=3,G=D.dom.getParent(z.startContainer,"TABLE"),C,w,E;if(G){C=G.parentNode}w=z.startContainer.nodeType==B&&z.startOffset==0&&z.endOffset==0&&F&&(A.nodeName=="TR"||A==C);E=(A.nodeName=="TD"||A.nodeName=="TH")&&!F;return w||E}function n(A){if(!d.isWebKit){return}var z=A.selection.getRng();var C=A.selection.getNode();var B=A.dom.getParent(z.startContainer,"TD,TH");if(!o(A,z,C,B)){return}if(!B){B=C}var w=B.lastChild;while(w.lastChild){w=w.lastChild}z.setEnd(w,w.nodeValue.length);A.selection.setRng(z)}r.plugins.table.fixTableCellSelection=n;if(r&&r.plugins.contextmenu){r.plugins.contextmenu.onContextMenu.add(function(A,w,C){var D,B=r.selection,z=B.getNode()||r.getBody();if(r.dom.getParent(C,"td")||r.dom.getParent(C,"th")||r.dom.select("td.mceSelected,th.mceSelected").length){w.removeAll();if(z.nodeName=="A"&&!r.dom.getAttrib(z,"name")){w.add({title:"advanced.link_desc",icon:"link",cmd:r.plugins.advlink?"mceAdvLink":"mceLink",ui:true});w.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});w.addSeparator()}if(z.nodeName=="IMG"&&z.className.indexOf("mceItem")==-1){w.add({title:"advanced.image_desc",icon:"image",cmd:r.plugins.advimage?"mceAdvImage":"mceImage",ui:true});w.addSeparator()}w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});w.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});w.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});w.addSeparator();D=w.addMenu({title:"table.cell"});D.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});D.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});D.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});D=w.addMenu({title:"table.row"});D.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});D.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});D.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});D.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});D.addSeparator();D.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});D.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});D.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!m);D.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!m);D=w.addMenu({title:"table.col"});D.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});D.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});D.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{w.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(d.isWebKit){function v(C,N){var L=d.VK;var Q=N.keyCode;function O(Y,U,S){var T=Y?"previousSibling":"nextSibling";var Z=C.dom.getParent(U,"tr");var X=Z[T];if(X){z(C,U,X,Y);d.dom.Event.cancel(S);return true}else{var aa=C.dom.getParent(Z,"table");var W=Z.parentNode;var R=W.nodeName.toLowerCase();if(R==="tbody"||R===(Y?"tfoot":"thead")){var V=w(Y,aa,W,"tbody");if(V!==null){return K(Y,V,U,S)}}return M(Y,Z,T,aa,S)}}function w(V,T,U,X){var S=C.dom.select(">"+X,T);var R=S.indexOf(U);if(V&&R===0||!V&&R===S.length-1){return B(V,T)}else{if(R===-1){var W=U.tagName.toLowerCase()==="thead"?0:S.length-1;return S[W]}else{return S[R+(V?-1:1)]}}}function B(U,T){var S=U?"thead":"tfoot";var R=C.dom.select(">"+S,T);return R.length!==0?R[0]:null}function K(V,T,S,U){var R=J(T,V);R&&z(C,S,R,V);d.dom.Event.cancel(U);return true}function M(Y,U,R,X,W){var S=X[R];if(S){F(S);return true}else{var V=C.dom.getParent(X,"td,th");if(V){return O(Y,V,W)}else{var T=J(U,!Y);F(T);return d.dom.Event.cancel(W)}}}function J(S,R){var T=S&&S[R?"lastChild":"firstChild"];return T&&T.nodeName==="BR"?C.dom.getParent(T,"td,th"):T}function F(R){C.selection.setCursorLocation(R,0)}function A(){return Q==L.UP||Q==L.DOWN}function D(R){var T=R.selection.getNode();var S=R.dom.getParent(T,"tr");return S!==null}function P(S){var R=0;var T=S;while(T.previousSibling){T=T.previousSibling;R=R+a(T,"colspan")}return R}function E(T,R){var U=0;var S=0;e(T.children,function(V,W){U=U+a(V,"colspan");S=W;if(U>R){return false}});return S}function z(T,W,Y,V){var X=P(T.dom.getParent(W,"td,th"));var S=E(Y,X);var R=Y.childNodes[S];var U=J(R,V);F(U||R)}function H(R){var T=C.selection.getNode();var U=C.dom.getParent(T,"td,th");var S=C.dom.getParent(R,"td,th");return U&&U!==S&&I(U,S)}function I(S,R){return C.dom.getParent(S,"TABLE")===C.dom.getParent(R,"TABLE")}if(A()&&D(C)){var G=C.selection.getNode();setTimeout(function(){if(H(G)){O(!N.shiftKey&&Q===L.UP,G,N)}},0)}}r.onKeyDown.add(v)}function s(){var w;for(w=r.getBody().lastChild;w&&w.nodeType==3&&!w.nodeValue.length;w=w.previousSibling){}if(w&&w.nodeName=="TABLE"){if(r.settings.forced_root_block){r.dom.add(r.getBody(),r.settings.forced_root_block,null,d.isIE&&!d.isIE11?" ":'
"]])}}}h.execCommand("mceInsertContent",false,j)}},_legacySupport:function(){var e=this,d=e.editor;d.addCommand("mcePasteWord",function(){d.windowManager.open({file:e.url+"/pasteword.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})});if(b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(){d.windowManager.open({file:e.url+"/pastetext.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})})}d.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})();
\ No newline at end of file
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/editor_plugin_src.js
similarity index 96%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/editor_plugin_src.js
index 0154eceb58c..6f1734299e5 100644
--- a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/editor_plugin_src.js
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/editor_plugin_src.js
@@ -291,7 +291,7 @@
}
}
- // Check if we should use the new auto process method
+ // Check if we should use the new auto process method
if (getParam(ed, "paste_auto_cleanup_on_paste")) {
// Is it's Opera or older FF use key handler
if (tinymce.isOpera || /Firefox\/2/.test(navigator.userAgent)) {
@@ -354,7 +354,7 @@
h = h.replace(v[0], v[1]);
});
}
-
+
if (ed.settings.paste_enable_default_filters == false) {
return;
}
@@ -413,7 +413,9 @@
// If JavaScript had a RegExp look-behind, we could have integrated this with the last process() array and got rid of the loop. But alas, it does not, so we cannot.
do {
len = h.length;
- h = h.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1");
+ // Don't remove the type attribute for lists so that non-default list types display correctly.
+ h = h.replace(/(!(ol|ul)[^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1");
+ h = h.replace(/(<(ol|ul)[^>]*\s)(?:id|name|language|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi, "$1");
} while (len != h.length);
// Remove all spans if no styles is to be retained
@@ -589,7 +591,7 @@
if (ed.settings.paste_enable_default_filters == false) {
return;
}
-
+
if (o.wordContent) {
// Remove named anchors or TOC links
each(dom.select('a', o.node), function(a) {
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/js/pastetext.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/js/pastetext.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/js/pastetext.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/js/pastetext.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/js/pasteword.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/js/pasteword.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/js/pasteword.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/js/pasteword.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/pastetext.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/pastetext.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/pastetext.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/pastetext.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/pasteword.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/pasteword.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/paste/pasteword.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/paste/pasteword.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/example.html b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/example.html
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/example.html
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/example.html
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/jscripts/embed.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/jscripts/embed.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/jscripts/embed.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/jscripts/embed.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/preview.html b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/preview.html
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/preview/preview.html
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/preview/preview.html
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/print/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/print/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/print/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/print/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/print/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/print/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/print/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/print/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/save/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/save/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/save/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/save/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/save/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/save/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/save/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/save/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/css/searchreplace.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/css/searchreplace.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/css/searchreplace.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/css/searchreplace.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/js/searchreplace.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/js/searchreplace.js
similarity index 91%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/js/searchreplace.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/js/searchreplace.js
index 80284b9f3ff..eb9b6eea847 100644
--- a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/js/searchreplace.js
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/js/searchreplace.js
@@ -14,6 +14,7 @@ var SearchReplaceDialog = {
mcTabs.onChange.add(function(tab_id, panel_id) {
t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
});
+
},
switchMode : function(m) {
@@ -39,6 +40,11 @@ var SearchReplaceDialog = {
searchNext : function(a) {
var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0;
+ if (tinymce.isIE11 && !window.find) {
+ ed.windowManager.alert("This feature is not available in IE 11+. Upgrade TinyMCE to 4.x to get this functionallity back.");
+ return;
+ }
+
// Get input
f = document.forms[0];
s = f[m + '_panel_searchstring'].value;
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/searchreplace.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/searchreplace.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/searchreplace/searchreplace.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/searchreplace/searchreplace.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/spellchecker/css/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/spellchecker/css/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/spellchecker/css/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/spellchecker/css/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.10/plugins/spellchecker/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/spellchecker/editor_plugin.js
new file mode 100644
index 00000000000..6b57241a90b
--- /dev/null
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/spellchecker/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);f.menuItems={};c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}f._updateMenu(l);f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);f.menuItems[n]=l;if(n==f.selectedLang){f.selectedItem=l}})});return g}},setLanguage:function(e){var d=this;if(e==d.selectedLang){return}if(tinymce.grep(d.languages,function(f){return f===e}).length===0){throw"Unknown language: "+e}d.selectedLang=e;if(d.menuItems){d._updateMenu(d.menuItems[e])}if(d.active){d._done()}},_updateMenu:function(d){d.setSelected(1);this.selectedItem.setSelected(0);this.selectedItem=d},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}§©«®±¶·¸»¼½¾¿×÷¤\u201d\u201c');for(d=0;d
'}}return M}function q(){var M=G.createRng();e(G.select("tr",H),function(N){if(N.cells.length==0){G.remove(N)}});if(G.select("tr",H).length==0){M.setStartAfter(H);M.setEndAfter(H);K.setRng(M);G.remove(H);return}e(G.select("thead,tbody,tfoot",H),function(N){if(N.rows.length==0){G.remove(N)}});t();row=g[Math.min(g.length-1,L.y)];if(row){K.select(row[Math.min(row.length-1,L.x)].elm,true);K.collapse(true)}}function u(S,Q,U,R){var P,N,M,O,T;P=g[Q][S].elm.parentNode;for(M=1;M<=U;M++){P=G.getNext(P,"tr");if(P){for(N=S;N>=0;N--){T=g[Q+M][N].elm;if(T.parentNode==P){for(O=1;O<=R;O++){G.insertAfter(f(T),T)}break}}if(N==-1){for(O=1;O<=R;O++){P.insertBefore(f(P.cells[0]),P.cells[0])}}}}}function C(){e(g,function(M,N){e(M,function(P,O){var S,R,T,Q;if(j(P)){P=P.elm;S=a(P,"colspan");R=a(P,"rowspan");if(S>1||R>1){s(P,"rowSpan",1);s(P,"colSpan",1);for(Q=0;QN){N=R}if(Q>M){M=Q}if(S.real){U=S.colspan-1;T=S.rowspan-1;if(U){if(R+U>N){N=R+U}}if(T){if(Q+T>M){M=Q+T}}}}})});return{x:N,y:M}}function v(S){var P,O,U,T,N,M,Q,R;D=F(S);if(L&&D){P=Math.min(L.x,D.x);O=Math.min(L.y,D.y);U=Math.max(L.x,D.x);T=Math.max(L.y,D.y);N=U;M=T;for(y=O;y<=M;y++){S=g[y][P];if(!S.real){if(P-(S.colspan-1)
')}else{r.dom.add(r.getBody(),"br",{"data-mce-bogus":"1"})}}}if(d.isGecko){r.onKeyDown.add(function(z,B){var w,A,C=z.dom;if(B.keyCode==37||B.keyCode==38){w=z.selection.getRng();A=C.getParent(w.startContainer,"table");if(A&&z.getBody().firstChild==A){if(c(w,A)){w=C.createRng();w.setStartBefore(A);w.setEndBefore(A);z.selection.setRng(w);B.preventDefault()}}}})}r.onKeyUp.add(s);r.onSetContent.add(s);r.onVisualAid.add(s);r.onPreProcess.add(function(w,A){var z=A.node.lastChild;if(z&&(z.nodeName=="BR"||(z.childNodes.length==1&&(z.firstChild.nodeName=="BR"||z.firstChild.nodeValue=="\u00a0")))&&z.previousSibling&&z.previousSibling.nodeName=="TABLE"){w.dom.remove(z)}});s();r.startContent=r.getContent({format:"raw"})});e({mceTableSplitCells:function(n){n.split()},mceTableMergeCells:function(o){var p,q,n;n=g.dom.getParent(g.selection.getNode(),"th,td");if(n){p=n.rowSpan;q=n.colSpan}if(!g.dom.select("td.mceSelected,th.mceSelected").length){f.open({url:h+"/merge_cells.htm",width:240+parseInt(g.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(g.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:p,cols:q,onaction:function(r){o.merge(n,r.cols,r.rows)},plugin_url:h})}else{o.merge()}},mceTableInsertRowBefore:function(n){n.insertRow(true)},mceTableInsertRowAfter:function(n){n.insertRow()},mceTableInsertColBefore:function(n){n.insertCol(true)},mceTableInsertColAfter:function(n){n.insertCol()},mceTableDeleteCol:function(n){n.deleteCols()},mceTableDeleteRow:function(n){n.deleteRows()},mceTableCutRow:function(n){m=n.cutRows()},mceTableCopyRow:function(n){m=n.copyRows()},mceTablePasteRowBefore:function(n){n.pasteRows(m,true)},mceTablePasteRowAfter:function(n){n.pasteRows(m)},mceTableDelete:function(n){n.deleteTable()}},function(o,n){g.addCommand(n,function(){var p=l();if(p){o(p);g.execCommand("mceRepaint");k()}})});e({mceInsertTable:function(n){f.open({url:h+"/table.htm",width:400+parseInt(g.getLang("table.table_delta_width",0)),height:320+parseInt(g.getLang("table.table_delta_height",0)),inline:1},{plugin_url:h,action:n?n.action:0})},mceTableRowProps:function(){f.open({url:h+"/row.htm",width:400+parseInt(g.getLang("table.rowprops_delta_width",0)),height:295+parseInt(g.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:h})},mceTableCellProps:function(){f.open({url:h+"/cell.htm",width:400+parseInt(g.getLang("table.cellprops_delta_width",0)),height:295+parseInt(g.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:h})}},function(o,n){g.addCommand(n,function(p,q){o(q)})})}});d.PluginManager.add("table",d.plugins.TablePlugin)})(tinymce);
\ No newline at end of file
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/editor_plugin_src.js
similarity index 99%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/editor_plugin_src.js
index 532b79c6faa..045648376d2 100644
--- a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/editor_plugin_src.js
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/editor_plugin_src.js
@@ -166,7 +166,7 @@
// Add something to the inner node
if (curNode)
- curNode.innerHTML = tinymce.isIE ? ' ' : '
';
+ curNode.innerHTML = tinymce.isIE && !tinymce.isIE11 ? ' ' : '
';
return false;
}
@@ -179,7 +179,7 @@
if (formatNode) {
cell.appendChild(formatNode);
} else {
- if (!tinymce.isIE)
+ if (!tinymce.isIE || tinymce.isIE11)
cell.innerHTML = '
';
}
@@ -1249,7 +1249,7 @@
if (last && last.nodeName == 'TABLE') {
if (ed.settings.forced_root_block)
- ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE ? ' ' : '
');
+ ed.dom.add(ed.getBody(), ed.settings.forced_root_block, null, tinymce.isIE && !tinymce.isIE11 ? ' ' : '
');
else
ed.dom.add(ed.getBody(), 'br', {'data-mce-bogus': '1'});
}
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/cell.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/cell.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/cell.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/cell.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/merge_cells.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/merge_cells.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/merge_cells.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/merge_cells.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/row.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/row.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/row.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/row.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/table.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/table.js
similarity index 95%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/table.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/table.js
index 1db243b63a6..f427f5f87ee 100644
--- a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/js/table.js
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/js/table.js
@@ -91,7 +91,7 @@ function insertTable() {
if (!capEl && caption) {
capEl = elm.ownerDocument.createElement('caption');
- if (!tinymce.isIE)
+ if (!tinymce.isIE || tinymce.isIE11)
capEl.innerHTML = '
';
elm.insertBefore(capEl, elm.firstChild);
@@ -199,7 +199,7 @@ function insertTable() {
html += '>';
if (caption) {
- if (!tinymce.isIE)
+ if (!tinymce.isIE || tinymce.isIE11)
html += '";
for (var x=0; x
';
else
html += '';
@@ -242,16 +242,16 @@ function insertTable() {
} else
inst.execCommand('mceInsertContent', false, html);
- tinymce.each(dom.select('table[data-mce-new]'), function(node) {
+ tinymce.each(dom.select('table[data-mce-new]'), function(node) {
var tdorth = dom.select('td,th', node);
-
+
// Fixes a bug in IE where the caret cannot be placed after the table if the table is at the end of the document
- if (tinymce.isIE && node.nextSibling == null) {
+ if (tinymce.isIE && !tinymce.isIE11 && node.nextSibling == null) {
if (inst.settings.forced_root_block)
dom.insertAfter(dom.create(inst.settings.forced_root_block), node);
else
dom.insertAfter(dom.create('br', {'data-mce-bogus': '1'}), node);
- }
+ }
try {
// IE9 might fail to do this selection
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/merge_cells.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/merge_cells.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/merge_cells.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/merge_cells.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/row.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/row.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/row.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/row.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/table.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/table.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/table/table.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/table/table.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/blank.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/blank.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/blank.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/blank.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/css/template.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/css/template.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/css/template.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/css/template.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/js/template.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/js/template.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/js/template.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/js/template.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/template.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/template.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/template/template.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/template/template.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/css/visualblocks.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/css/visualblocks.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/css/visualblocks.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/css/visualblocks.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualblocks/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualblocks/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualchars/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualchars/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualchars/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualchars/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualchars/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualchars/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/visualchars/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/visualchars/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/wordcount/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/wordcount/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/wordcount/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/wordcount/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/wordcount/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/wordcount/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/wordcount/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/wordcount/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/abbr.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/abbr.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/abbr.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/abbr.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/acronym.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/acronym.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/acronym.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/acronym.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/attributes.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/attributes.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/attributes.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/attributes.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/cite.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/cite.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/cite.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/cite.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/css/attributes.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/css/attributes.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/css/attributes.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/css/attributes.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/css/popup.css b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/css/popup.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/css/popup.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/css/popup.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/del.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/del.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/del.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/del.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/editor_plugin.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/editor_plugin.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/editor_plugin.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/editor_plugin.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/editor_plugin_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/editor_plugin_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/editor_plugin_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/editor_plugin_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/ins.htm b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/ins.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/ins.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/ins.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/abbr.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/abbr.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/abbr.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/abbr.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/acronym.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/acronym.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/acronym.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/acronym.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/attributes.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/attributes.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/attributes.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/attributes.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/cite.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/cite.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/cite.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/cite.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/del.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/del.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/del.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/del.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/element_common.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/element_common.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/element_common.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/element_common.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/ins.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/ins.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/js/ins.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/js/ins.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/plugins/xhtmlxtras/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/plugins/xhtmlxtras/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/about.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/about.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/about.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/about.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/anchor.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/anchor.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/anchor.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/anchor.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/charmap.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/charmap.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/charmap.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/charmap.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/color_picker.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/color_picker.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/color_picker.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/color_picker.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/editor_template.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/editor_template.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/editor_template.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/editor_template.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/editor_template_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/editor_template_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/editor_template_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/editor_template_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/image.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/image.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/image.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/image.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/colorpicker.jpg b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/colorpicker.jpg
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/colorpicker.jpg
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/colorpicker.jpg
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/flash.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/flash.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/flash.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/flash.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/icons.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/icons.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/icons.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/icons.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/iframe.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/iframe.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/iframe.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/iframe.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/pagebreak.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/pagebreak.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/pagebreak.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/pagebreak.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/quicktime.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/quicktime.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/quicktime.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/quicktime.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/realmedia.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/realmedia.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/realmedia.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/realmedia.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/shockwave.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/shockwave.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/shockwave.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/shockwave.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/trans.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/trans.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/trans.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/trans.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/video.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/video.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/video.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/video.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/windowsmedia.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/windowsmedia.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/img/windowsmedia.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/img/windowsmedia.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/about.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/about.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/about.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/about.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/anchor.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/anchor.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/anchor.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/anchor.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/charmap.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/charmap.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/charmap.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/charmap.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/color_picker.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/color_picker.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/color_picker.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/color_picker.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/image.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/image.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/image.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/image.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/link.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/link.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/link.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/link.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/source_editor.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/source_editor.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/js/source_editor.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/js/source_editor.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/langs/en.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/langs/en.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/langs/en.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/langs/en.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/langs/en_dlg.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/langs/en_dlg.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/langs/en_dlg.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/langs/en_dlg.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/link.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/link.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/link.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/link.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/shortcuts.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/shortcuts.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/shortcuts.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/shortcuts.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/dialog.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/dialog.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/dialog.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/dialog.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/buttons.png b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/buttons.png
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/buttons.png
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/buttons.png
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/items.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/items.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/items.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/items.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/menu_arrow.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/menu_arrow.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/menu_arrow.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/menu_arrow.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/menu_check.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/menu_check.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/menu_check.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/menu_check.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/progress.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/progress.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/progress.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/progress.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/tabs.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/tabs.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/img/tabs.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/img/tabs.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/ui.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/ui.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/default/ui.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/default/ui.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/dialog.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/dialog.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/dialog.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/dialog.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/ui.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/ui.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/highcontrast/ui.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/highcontrast/ui.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/dialog.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/dialog.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/dialog.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/dialog.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg.png b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg.png
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg.png
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg.png
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg_black.png b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg_black.png
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg_black.png
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg_black.png
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg_silver.png b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg_silver.png
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/img/button_bg_silver.png
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/img/button_bg_silver.png
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui_black.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui_black.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui_black.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui_black.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui_silver.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui_silver.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/skins/o2k7/ui_silver.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/skins/o2k7/ui_silver.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/source_editor.htm b/lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/source_editor.htm
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/advanced/source_editor.htm
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/advanced/source_editor.htm
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/editor_template.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/editor_template.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/editor_template.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/editor_template.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/editor_template_src.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/editor_template_src.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/editor_template_src.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/editor_template_src.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/img/icons.gif b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/img/icons.gif
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/img/icons.gif
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/img/icons.gif
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/langs/en.js b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/langs/en.js
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/langs/en.js
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/langs/en.js
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/default/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/default/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/default/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/default/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/default/ui.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/default/ui.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/default/ui.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/default/ui.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/content.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/content.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/content.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/content.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/img/button_bg.png b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/img/button_bg.png
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/img/button_bg.png
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/img/button_bg.png
diff --git a/lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/ui.css b/lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/ui.css
similarity index 100%
rename from lib/editor/tinymce/tiny_mce/3.5.8/themes/simple/skins/o2k7/ui.css
rename to lib/editor/tinymce/tiny_mce/3.5.10/themes/simple/skins/o2k7/ui.css
diff --git a/lib/editor/tinymce/tiny_mce/3.5.10/tiny_mce.js b/lib/editor/tinymce/tiny_mce/3.5.10/tiny_mce.js
new file mode 100644
index 00000000000..bc9b7e02f65
--- /dev/null
+++ b/lib/editor/tinymce/tiny_mce/3.5.10/tiny_mce.js
@@ -0,0 +1 @@
+(function(e){var a=/^\s*|\s*$/g,b,d="B".replace(/A(.)|B/,"$1")==="$1";var c={majorVersion:"3",minorVersion:"5.10",releaseDate:"2013-10-24",_init:function(){var s=this,q=document,o=navigator,g=o.userAgent,m,f,l,k,j,r;s.isIE11=g.indexOf("Trident/")!=-1&&(g.indexOf("rv:")!=-1||o.appName.indexOf("Netscape")!=-1);s.isOpera=e.opera&&opera.buildNumber;s.isWebKit=/WebKit/.test(g);s.isIE=!s.isWebKit&&!s.isOpera&&(/MSIE/gi).test(g)&&(/Explorer/gi).test(o.appName)||s.isIE11;s.isIE6=s.isIE&&/MSIE [56]/.test(g);s.isIE7=s.isIE&&/MSIE [7]/.test(g);s.isIE8=s.isIE&&/MSIE [8]/.test(g);s.isIE9=s.isIE&&/MSIE [9]/.test(g);s.isGecko=!s.isWebKit&&!s.isIE11&&/Gecko/.test(g);s.isMac=g.indexOf("Mac")!=-1;s.isAir=/adobeair/i.test(g);s.isIDevice=/(iPad|iPhone)/.test(g);s.isIOS5=s.isIDevice&&g.match(/AppleWebKit\/(\d*)/)[1]>=534;if(e.tinyMCEPreInit){s.suffix=tinyMCEPreInit.suffix;s.baseURL=tinyMCEPreInit.base;s.query=tinyMCEPreInit.query;return}s.suffix="";f=q.getElementsByTagName("base");for(m=0;m 0){o+=(o.length>0?" ":"")+t+": "+v+";"}}}}if(r&&f&&f.styles){i("*");i(r)}else{for(n in p){q=p[n];if(q!==e&&q.length>0){o+=(o.length>0?" ":"")+n+": "+q+";"}}}return o}}};(function(f){var a={},e=f.makeMap,g=f.each;function d(j,i){return j.split(i||",")}function h(m,l){var j,k={};function i(n){return n.replace(/[A-Z]+/g,function(o){return i(m[o])})}for(j in m){if(m.hasOwnProperty(j)){m[j]=i(m[j])}}i(l).replace(/#/g,"#text").replace(/(\w+)\[([^\]]+)\]\[([^\]]*)\]/g,function(q,o,n,p){n=d(n,"|");k[o]={attributes:e(n),attributesOrder:n,children:e(p,"|",{"#comment":{}})}});return k}function b(){var i=a.html5;if(!i){i=a.html5=h({A:"id|accesskey|class|dir|draggable|item|hidden|itemprop|role|spellcheck|style|subject|title|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"#|a|abbr|area|audio|b|bdo|br|button|canvas|cite|code|command|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|meta|meter|noscript|object|output|progress|q|ruby|samp|script|select|small|span|strong|sub|sup|svg|textarea|time|var|video|wbr",C:"#|a|abbr|area|address|article|aside|audio|b|bdo|blockquote|br|button|canvas|cite|code|command|datalist|del|details|dfn|dialog|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|i|iframe|img|input|ins|kbd|keygen|label|link|map|mark|menu|meta|meter|nav|noscript|ol|object|output|p|pre|progress|q|ruby|samp|script|section|select|small|span|strong|style|sub|sup|svg|table|textarea|time|ul|var|video"},"html[A|manifest][body|head]head[A][base|command|link|meta|noscript|script|style|title]title[A][#]base[A|href|target][]link[A|href|rel|media|type|sizes][]meta[A|http-equiv|name|content|charset][]style[A|type|media|scoped][#]script[A|charset|type|src|defer|async][#]noscript[A][C]body[A][C]section[A][C]nav[A][C]article[A][C]aside[A][C]h1[A][B]h2[A][B]h3[A][B]h4[A][B]h5[A][B]h6[A][B]hgroup[A][h1|h2|h3|h4|h5|h6]header[A][C]footer[A][C]address[A][C]p[A][B]br[A][]pre[A][B]dialog[A][dd|dt]blockquote[A|cite][C]ol[A|start|reversed][li]ul[A][li]li[A|value][C]dl[A][dd|dt]dt[A][B]dd[A][C]a[A|href|target|ping|rel|media|type][B]em[A][B]strong[A][B]small[A][B]cite[A][B]q[A|cite][B]dfn[A][B]abbr[A][B]code[A][B]var[A][B]samp[A][B]kbd[A][B]sub[A][B]sup[A][B]i[A][B]b[A][B]mark[A][B]progress[A|value|max][B]meter[A|value|min|max|low|high|optimum][B]time[A|datetime][B]ruby[A][B|rt|rp]rt[A][B]rp[A][B]bdo[A][B]span[A][B]ins[A|cite|datetime][B]del[A|cite|datetime][B]figure[A][C|legend|figcaption]figcaption[A][C]img[A|alt|src|height|width|usemap|ismap][]iframe[A|name|src|height|width|sandbox|seamless][]embed[A|src|height|width|type][]object[A|data|type|height|width|usemap|name|form|classid][param]param[A|name|value][]details[A|open][C|legend]command[A|type|label|icon|disabled|checked|radiogroup][]menu[A|type|label][C|li]legend[A][C|B]div[A][C]source[A|src|type|media][]audio[A|src|autobuffer|autoplay|loop|controls][source]video[A|src|autobuffer|autoplay|loop|controls|width|height|poster][source]hr[A][]form[A|accept-charset|action|autocomplete|enctype|method|name|novalidate|target][C]fieldset[A|disabled|form|name][C|legend]label[A|form|for][B]input[A|type|accept|alt|autocomplete|autofocus|checked|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|height|list|max|maxlength|min|multiple|pattern|placeholder|readonly|required|size|src|step|width|files|value|name][]button[A|autofocus|disabled|form|formaction|formenctype|formmethod|formnovalidate|formtarget|name|value|type][B]select[A|autofocus|disabled|form|multiple|name|size][option|optgroup]datalist[A][B|option]optgroup[A|disabled|label][option]option[A|disabled|selected|label|value][]textarea[A|autofocus|disabled|form|maxlength|name|placeholder|readonly|required|rows|cols|wrap][]keygen[A|autofocus|challenge|disabled|form|keytype|name][]output[A|for|form|name][B]canvas[A|width|height][]map[A|name][B|C]area[A|shape|coords|href|alt|target|media|rel|ping|type][]mathml[A][]svg[A][]table[A|border][caption|colgroup|thead|tfoot|tbody|tr]caption[A][C]colgroup[A|span][col]col[A|span][]thead[A][tr]tfoot[A][tr]tbody[A][tr]tr[A][th|td]th[A|headers|rowspan|colspan|scope][B]td[A|headers|rowspan|colspan][C]wbr[A][]")}return i}function c(){var i=a.html4;if(!i){i=a.html4=h({Z:"H|K|N|O|P",Y:"X|form|R|Q",ZG:"E|span|width|align|char|charoff|valign",X:"p|T|div|U|W|isindex|fieldset|table",ZF:"E|align|char|charoff|valign",W:"pre|hr|blockquote|address|center|noframes",ZE:"abbr|axis|headers|scope|rowspan|colspan|align|char|charoff|valign|nowrap|bgcolor|width|height",ZD:"[E][S]",U:"ul|ol|dl|menu|dir",ZC:"p|Y|div|U|W|table|br|span|bdo|object|applet|img|map|K|N|Q",T:"h1|h2|h3|h4|h5|h6",ZB:"X|S|Q",S:"R|P",ZA:"a|G|J|M|O|P",R:"a|H|K|N|O",Q:"noscript|P",P:"ins|del|script",O:"input|select|textarea|label|button",N:"M|L",M:"em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acronym",L:"sub|sup",K:"J|I",J:"tt|i|b|u|s|strike",I:"big|small|font|basefont",H:"G|F",G:"br|span|bdo",F:"object|applet|img|map|iframe",E:"A|B|C",D:"accesskey|tabindex|onfocus|onblur",C:"onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup",B:"lang|xml:lang|dir",A:"id|class|style|title"},"script[id|charset|type|language|src|defer|xml:space][]style[B|id|type|media|title|xml:space][]object[E|declare|classid|codebase|data|type|codetype|archive|standby|width|height|usemap|name|tabindex|align|border|hspace|vspace][#|param|Y]param[id|name|value|valuetype|type][]p[E|align][#|S]a[E|D|charset|type|name|href|hreflang|rel|rev|shape|coords|target][#|Z]br[A|clear][]span[E][#|S]bdo[A|C|B][#|S]applet[A|codebase|archive|code|object|alt|name|width|height|align|hspace|vspace][#|param|Y]h1[E|align][#|S]img[E|src|alt|name|longdesc|width|height|usemap|ismap|align|border|hspace|vspace][]map[B|C|A|name][X|form|Q|area]h2[E|align][#|S]iframe[A|longdesc|name|src|frameborder|marginwidth|marginheight|scrolling|align|width|height][#|Y]h3[E|align][#|S]tt[E][#|S]i[E][#|S]b[E][#|S]u[E][#|S]s[E][#|S]strike[E][#|S]big[E][#|S]small[E][#|S]font[A|B|size|color|face][#|S]basefont[id|size|color|face][]em[E][#|S]strong[E][#|S]dfn[E][#|S]code[E][#|S]q[E|cite][#|S]samp[E][#|S]kbd[E][#|S]var[E][#|S]cite[E][#|S]abbr[E][#|S]acronym[E][#|S]sub[E][#|S]sup[E][#|S]input[E|D|type|name|value|checked|disabled|readonly|size|maxlength|src|alt|usemap|onselect|onchange|accept|align][]select[E|name|size|multiple|disabled|tabindex|onfocus|onblur|onchange][optgroup|option]optgroup[E|disabled|label][option]option[E|selected|disabled|label|value][]textarea[E|D|name|rows|cols|disabled|readonly|onselect|onchange][]label[E|for|accesskey|onfocus|onblur][#|S]button[E|D|name|value|type|disabled][#|p|T|div|U|W|table|G|object|applet|img|map|K|N|Q]h4[E|align][#|S]ins[E|cite|datetime][#|Y]h5[E|align][#|S]del[E|cite|datetime][#|Y]h6[E|align][#|S]div[E|align][#|Y]ul[E|type|compact][li]li[E|type|value][#|Y]ol[E|type|compact|start][li]dl[E|compact][dt|dd]dt[E][#|S]dd[E][#|Y]menu[E|compact][li]dir[E|compact][li]pre[E|width|xml:space][#|ZA]hr[E|align|noshade|size|width][]blockquote[E|cite][#|Y]address[E][#|S|p]center[E][#|Y]noframes[E][#|Y]isindex[A|B|prompt][]fieldset[E][#|legend|Y]legend[E|accesskey|align][#|S]table[E|summary|width|border|frame|rules|cellspacing|cellpadding|align|bgcolor][caption|col|colgroup|thead|tfoot|tbody|tr]caption[E|align][#|S]col[ZG][]colgroup[ZG][col]thead[ZF][tr]tr[ZF|bgcolor][th|td]th[E|ZE][#|Y]form[E|action|method|name|enctype|onsubmit|onreset|accept|accept-charset|target][#|X|R|Q]noscript[E][#|Y]td[E|ZE][#|Y]tfoot[ZF][tr]tbody[ZF][tr]area[E|D|shape|coords|href|nohref|alt|target][]base[id|href|target][]body[E|onload|onunload|background|bgcolor|text|link|vlink|alink][#|Y]")}return i}f.html.Schema=function(A){var u=this,s={},k={},j=[],D,y;var o,q,z,r,v,n,p={};function m(F,E,H){var G=A[F];if(!G){G=a[F];if(!G){G=e(E," ",e(E.toUpperCase()," "));G=f.extend(G,H);a[F]=G}}else{G=e(G,",",e(G.toUpperCase()," "))}return G}A=A||{};y=A.schema=="html5"?b():c();if(A.verify_html===false){A.valid_elements="*[*]"}if(A.valid_styles){D={};g(A.valid_styles,function(F,E){D[E]=f.explode(F)})}o=m("whitespace_elements","pre script noscript style textarea");q=m("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr");z=m("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr");r=m("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls");n=m("non_empty_elements","td th iframe video audio object script",z);textBlockElementsMap=m("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure");v=m("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex samp option datalist select optgroup",textBlockElementsMap);function i(E){return new RegExp("^"+E.replace(/([?+*])/g,".$1")+"$")}function C(L){var K,G,Z,V,aa,F,I,U,X,Q,Y,ac,O,J,W,E,S,H,ab,ad,P,T,N=/^([#+\-])?([^\[\/]+)(?:\/([^\[]+))?(?:\[([^\]]+)\])?$/,R=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,M=/[*?+]/;if(L){L=d(L);if(s["@"]){S=s["@"].attributes;H=s["@"].attributesOrder}for(K=0,G=L.length;K
"+j;m.removeChild(m.firstChild)}catch(l){var n=i.create("div");n.innerHTML="
"+j;g(e.grep(n.childNodes),function(p,o){if(o&&m.canHaveHTML){m.appendChild(p)}})}}else{m.innerHTML=j}return j})},getOuterHTML:function(k){var j,i=this;k=i.get(k);if(!k){return null}if(k.nodeType===1&&i.hasOuterHTML){return k.outerHTML}j=(k.ownerDocument||i.doc).createElement("body");j.appendChild(k.cloneNode(true));return j.innerHTML},setOuterHTML:function(l,j,m){var i=this;function k(p,o,r){var s,q;q=r.createElement("body");q.innerHTML=o;s=q.lastChild;while(s){i.insertAfter(s.cloneNode(true),p);s=s.previousSibling}i.remove(p)}return this.run(l,function(o){o=i.get(o);if(o.nodeType==1){m=m||o.ownerDocument||i.doc;if(b){try{if(b&&o.nodeType==1){o.outerHTML=j}else{k(o,j,m)}}catch(n){k(o,j,m)}}else{k(o,j,m)}}})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(i,j){j=this.get(j);return this.run(i,function(l){var k,m;k=j.parentNode;m=j.nextSibling;if(m){k.insertBefore(l,m)}else{k.appendChild(l)}return l})},replace:function(m,l,i){var j=this;if(d(l,"array")){m=m.cloneNode(true)}return j.run(l,function(k){if(i){g(e.grep(k.childNodes),function(n){m.appendChild(n)})}return k.parentNode.replaceChild(m,k)})},rename:function(l,i){var k=this,j;if(l.nodeName!=i.toUpperCase()){j=k.create(i);g(k.getAttribs(l),function(m){k.setAttrib(j,m.nodeName,k.getAttrib(l,m.nodeName))});k.replace(j,l,1)}return j||l},findCommonAncestor:function(k,i){var l=k,j;while(l){j=i;while(j&&l!=j){j=j.parentNode}if(l==j){break}l=l.parentNode}if(!l&&k.ownerDocument){return k.ownerDocument.documentElement}return l},toHex:function(i){var k=/^\s*rgb\s*?\(\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?,\s*?([0-9]+)\s*?\)\s*$/i.exec(i);function j(l){l=parseInt(l,10).toString(16);return l.length>1?l:"0"+l}if(k){i="#"+j(k[1])+j(k[2])+j(k[3]);return i}return i},getClasses:function(){var n=this,j=[],m,o={},p=n.settings.class_filter,l;if(n.classes){return n.classes}function q(i){g(i.imports,function(s){q(s)});g(i.cssRules||i.rules,function(t){switch(t.type||1){case 1:if(t.selectorText){g(t.selectorText.split(","),function(r){r=r.replace(/^\s*|\s*$|^\s\./g,"");if(/\.mce/.test(r)||!/\.[\w\-]+$/.test(r)){return}l=r;r=e._replace(/.*\.([a-z0-9_\-]+).*/i,"$1",r);if(p&&!(r=p(r,l))){return}if(!o[r]){j.push({"class":r});o[r]=1}})}break;case 3:try{q(t.styleSheet)}catch(s){}break}})}try{g(n.doc.styleSheets,q)}catch(k){}if(j.length>0){n.classes=j}return j},run:function(l,k,j){var i=this,m;if(i.doc&&typeof(l)==="string"){l=i.get(l)}if(!l){return false}j=j||this;if(!l.nodeType&&(l.length||l.length===0)){m=[];g(l,function(o,n){if(o){if(typeof(o)=="string"){o=i.doc.getElementById(o)}m.push(k.call(j,o,n))}});return m}return k.call(j,l)},getAttribs:function(j){var i;j=this.get(j);if(!j){return[]}if(b){i=[];if(j.nodeName=="OBJECT"){return j.attributes}if(j.nodeName==="OPTION"&&this.getAttrib(j,"selected")){i.push({specified:1,nodeName:"selected"})}j.cloneNode(false).outerHTML.replace(/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi,"").replace(/[\w:\-]+/gi,function(k){i.push({specified:1,nodeName:k})});return i}return j.attributes},isEmpty:function(m,k){var r=this,o,n,q,j,l,p=0;m=m.firstChild;if(m){j=new e.dom.TreeWalker(m,m.parentNode);k=k||r.schema?r.schema.getNonEmptyElements():null;do{q=m.nodeType;if(q===1){if(m.getAttribute("data-mce-bogus")){continue}l=m.nodeName.toLowerCase();if(k&&k[l]){if(l==="br"){p++;continue}return false}n=r.getAttribs(m);o=m.attributes.length;while(o--){l=m.attributes[o].nodeName;if(l==="name"||l==="data-mce-bookmark"){return false}}}if(q==8){return false}if((q===3&&!a.test(m.nodeValue))){return false}}while(m=j.next())}return p<=1},destroy:function(j){var i=this;i.win=i.doc=i.root=i.events=i.frag=null;if(!j){e.removeUnload(i.destroy)}},createRng:function(){var i=this.doc;return i.createRange?i.createRange():new e.dom.Range(this)},nodeIndex:function(m,n){var i=0,k,l,j;if(m){for(k=m.nodeType,m=m.previousSibling,l=m;m;m=m.previousSibling){j=m.nodeType;if(n&&j==3){if(j==k||!m.nodeValue.length){continue}}i++;k=j}}return i},split:function(m,l,p){var q=this,i=q.createRng(),n,k,o;function j(v){var t,s=v.childNodes,u=v.nodeType;function x(A){var z=A.previousSibling&&A.previousSibling.nodeName=="SPAN";var y=A.nextSibling&&A.nextSibling.nodeName=="SPAN";return z&&y}if(u==1&&v.getAttribute("data-mce-type")=="bookmark"){return}for(t=s.length-1;t>=0;t--){j(s[t])}if(u!=9){if(u==3&&v.nodeValue.length>0){var r=e.trim(v.nodeValue).length;if(!q.isBlock(v.parentNode)||r>0||r===0&&x(v)){return}}else{if(u==1){s=v.childNodes;if(s.length==1&&s[0]&&s[0].nodeType==1&&s[0].getAttribute("data-mce-type")=="bookmark"){v.parentNode.insertBefore(s[0],v)}if(s.length||/^(br|hr|input|img)$/i.test(v.nodeName)){return}}}q.remove(v)}return v}if(m&&l){i.setStart(m.parentNode,q.nodeIndex(m));i.setEnd(l.parentNode,q.nodeIndex(l));n=i.extractContents();i=q.createRng();i.setStart(l.parentNode,q.nodeIndex(l)+1);i.setEnd(m.parentNode,q.nodeIndex(m)+1);k=i.extractContents();o=m.parentNode;o.insertBefore(j(n),m);if(p){o.replaceChild(p,l)}else{o.insertBefore(l,m)}o.insertBefore(j(k),m);q.remove(m);return p||l}},bind:function(l,i,k,j){return this.events.add(l,i,k,j||this)},unbind:function(k,i,j){return this.events.remove(k,i,j)},fire:function(k,j,i){return this.events.fire(k,j,i)},getContentEditable:function(j){var i;if(j.nodeType!=1){return null}i=j.getAttribute("data-mce-contenteditable");if(i&&i!=="inherit"){return i}return j.contentEditable!=="inherit"?j.contentEditable:null},_findSib:function(l,i,j){var k=this,m=i;if(l){if(d(m,"string")){m=function(n){return k.is(n,i)}}for(l=l[j];l;l=l[j]){if(m(l)){return l}}}return null},_isRes:function(i){return/^(top|left|bottom|right|width|height)/i.test(i)||/;\s*(top|left|bottom|right|width|height)/i.test(i)}});e.DOM=new e.dom.DOMUtils(document,{process_html:0})})(tinymce);(function(a){function b(c){var O=this,e=c.doc,U=0,F=1,j=2,E=true,S=false,W="startOffset",h="startContainer",Q="endContainer",A="endOffset",k=tinymce.extend,n=c.nodeIndex;k(O,{startContainer:e,startOffset:0,endContainer:e,endOffset:0,collapsed:E,commonAncestorContainer:e,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:q,setEnd:s,setStartBefore:g,setStartAfter:J,setEndBefore:K,setEndAfter:u,collapse:B,selectNode:y,selectNodeContents:G,compareBoundaryPoints:v,deleteContents:p,extractContents:I,cloneContents:d,insertNode:D,surroundContents:N,cloneRange:L,toStringIE:T});function x(){return e.createDocumentFragment()}function q(X,t){C(E,X,t)}function s(X,t){C(S,X,t)}function g(t){q(t.parentNode,n(t))}function J(t){q(t.parentNode,n(t)+1)}function K(t){s(t.parentNode,n(t))}function u(t){s(t.parentNode,n(t)+1)}function B(t){if(t){O[Q]=O[h];O[A]=O[W]}else{O[h]=O[Q];O[W]=O[A]}O.collapsed=E}function y(t){g(t);u(t)}function G(t){q(t,0);s(t,t.nodeType===1?t.childNodes.length:t.nodeValue.length)}function v(aa,t){var ad=O[h],Y=O[W],ac=O[Q],X=O[A],ab=t.startContainer,af=t.startOffset,Z=t.endContainer,ae=t.endOffset;if(aa===0){return H(ad,Y,ab,af)}if(aa===1){return H(ac,X,ab,af)}if(aa===2){return H(ac,X,Z,ae)}if(aa===3){return H(ad,Y,Z,ae)}}function p(){l(j)}function I(){return l(U)}function d(){return l(F)}function D(aa){var X=this[h],t=this[W],Z,Y;if((X.nodeType===3||X.nodeType===4)&&X.nodeValue){if(!t){X.parentNode.insertBefore(aa,X)}else{if(t>=X.nodeValue.length){c.insertAfter(aa,X)}else{Z=X.splitText(t);X.parentNode.insertBefore(aa,Z)}}}else{if(X.childNodes.length>0){Y=X.childNodes[t]}if(Y){X.insertBefore(aa,Y)}else{X.appendChild(aa)}}}function N(X){var t=O.extractContents();O.insertNode(X);X.appendChild(t);O.selectNode(X)}function L(){return k(new b(c),{startContainer:O[h],startOffset:O[W],endContainer:O[Q],endOffset:O[A],collapsed:O.collapsed,commonAncestorContainer:O.commonAncestorContainer})}function P(t,X){var Y;if(t.nodeType==3){return t}if(X<0){return t}Y=t.firstChild;while(Y&&X>0){--X;Y=Y.nextSibling}if(Y){return Y}return t}function m(){return(O[h]==O[Q]&&O[W]==O[A])}function H(Z,ab,X,aa){var ac,Y,t,ad,af,ae;if(Z==X){if(ab==aa){return 0}if(ab
'}return t}if(q){if(q.start){g=n.createRng();u=n.getRoot();if(v.tridentSel){return v.tridentSel.moveToBookmark(q)}if(h(true)&&h()){v.setRng(g)}}else{if(q.id){m("start");m("end");if(k){g=n.createRng();g.setStart(o(k),r);g.setEnd(o(x),s);v.setRng(g)}}else{if(q.name){v.select(n.select(q.name)[q.index])}else{if(q.rng){g=q.rng;if(g.startContainer){i=v.dom.createRng();try{i.setStart(g.startContainer,g.startOffset);i.setEnd(g.endContainer,g.endOffset)}catch(p){}g=i}v.setRng(g)}}}}}},select:function(l,k){var j=this,m=j.dom,h=m.createRng(),g;function i(n,p){var o=new a(n,n);do{if(n.nodeType==3&&d.trim(n.nodeValue).length!==0){if(p){h.setStart(n,0)}else{h.setEnd(n,n.nodeValue.length)}return}if(n.nodeName=="BR"){if(p){h.setStartBefore(n)}else{h.setEndBefore(n)}return}}while(n=(p?o.next():o.prev()))}if(l){g=m.nodeIndex(l);h.setStart(l.parentNode,g);h.setEnd(l.parentNode,g+1);if(k){i(l,1);i(l)}j.setRng(h)}return l},isCollapsed:function(){var g=this,i=g.getRng(),h=g.getSel();if(!i||i.item){return false}if(i.compareEndPoints){return i.compareEndPoints("StartToEnd",i)===0}return !h||i.collapsed},collapse:function(g){var i=this,h=i.getRng(),j;if(h.item){j=h.item(0);h=i.win.document.body.createTextRange();h.moveToElementText(j)}h.collapse(!!g);i.setRng(h)},getSel:function(){var h=this,g=this.win;return g.getSelection?g.getSelection():g.document.selection},getRng:function(m){var h=this,j,g,l,k=h.win.document;if(m&&h.tridentSel){return h.tridentSel.getRangeAt(0)}try{if(j=h.getSel()){g=j.rangeCount>0?j.getRangeAt(0):(j.createRange?j.createRange():k.createRange())}}catch(i){}if(d.isIE&&!d.isIE11&&g&&g.setStart&&k.selection.createRange().item){l=k.selection.createRange().item(0);g=k.createRange();g.setStartBefore(l);g.setEndAfter(l)}if(!g){g=k.createRange?k.createRange():k.body.createTextRange()}if(g.setStart&&g.startContainer.nodeType===9&&g.collapsed){l=h.dom.getRoot();g.setStart(l,0);g.setEnd(l,0)}if(h.selectedRange&&h.explicitRange){if(g.compareBoundaryPoints(g.START_TO_START,h.selectedRange)===0&&g.compareBoundaryPoints(g.END_TO_END,h.selectedRange)===0){g=h.explicitRange}else{h.selectedRange=null;h.explicitRange=null}}return g},setRng:function(k,g){var j,i=this;if(!i.tridentSel){j=i.getSel();if(j){i.explicitRange=k;try{j.removeAllRanges()}catch(h){}j.addRange(k);if(g===false&&j.extend){j.collapse(k.endContainer,k.endOffset);j.extend(k.startContainer,k.startOffset)}i.selectedRange=j.rangeCount>0?j.getRangeAt(0):null}}else{if(k.cloneRange){try{i.tridentSel.addRange(k);return}catch(h){}}try{k.select()}catch(h){}}},setNode:function(h){var g=this;g.setContent(g.dom.getOuterHTML(h));return h},getNode:function(){var i=this,h=i.getRng(),j=i.getSel(),m,l=h.startContainer,g=h.endContainer;function k(q,o){var p=q;while(q&&q.nodeType===3&&q.length===0){q=o?q.nextSibling:q.previousSibling}return q||p}if(!h){return i.dom.getRoot()}if(h.setStart){m=h.commonAncestorContainer;if(!h.collapsed){if(h.startContainer==h.endContainer){if(h.endOffset-h.startOffset<2){if(h.startContainer.hasChildNodes()){m=h.startContainer.childNodes[h.startOffset]}}}if(l.nodeType===3&&g.nodeType===3){if(l.length===h.startOffset){l=k(l.nextSibling,true)}else{l=l.parentNode}if(h.endOffset===0){g=k(g.previousSibling,false)}else{g=g.parentNode}if(l&&l===g){return l}}}if(m&&m.nodeType==3){return m.parentNode}return m}return h.item?h.item(0):h.parentElement()},getSelectedBlocks:function(p,h){var o=this,k=o.dom,m,l,i,j=[];m=k.getParent(p||o.getStart(),k.isBlock);l=k.getParent(h||o.getEnd(),k.isBlock);if(m){j.push(m)}if(m&&l&&m!=l){i=m;var g=new a(m,k.getRoot());while((i=g.next())&&i!=l){if(k.isBlock(i)){j.push(i)}}}if(l&&m!=l){j.push(l)}return j},isForward:function(){var i=this.dom,g=this.getSel(),j,h;if(!g||g.anchorNode==null||g.focusNode==null){return true}j=i.createRng();j.setStart(g.anchorNode,g.anchorOffset);j.collapse(true);h=i.createRng();h.setStart(g.focusNode,g.focusOffset);h.collapse(true);return j.compareBoundaryPoints(j.START_TO_START,h)<=0},normalize:function(){var h=this,g,m,l,j,i;function k(p){var o,r,n,s=h.dom,u=s.getRoot(),q,t,v;function y(z,A){var B=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(z=B[A?"prev":"next"]()){if(z.nodeName==="BR"){return true}}}function x(B,z){var C,A;z=z||o;C=new a(z,s.getParent(z.parentNode,s.isBlock)||u);while(q=C[B?"prev":"next"]()){if(q.nodeType===3&&q.nodeValue.length>0){o=q;r=B?q.nodeValue.length:0;m=true;return}if(s.isBlock(q)||t[q.nodeName.toLowerCase()]){return}A=q}if(l&&A){o=A;m=true;r=0}}o=g[(p?"start":"end")+"Container"];r=g[(p?"start":"end")+"Offset"];t=s.schema.getNonEmptyElements();if(o.nodeType===9){o=s.getRoot();r=0}if(o===u){if(p){q=o.childNodes[r>0?r-1:0];if(q){v=q.nodeName.toLowerCase();if(t[q.nodeName]||q.nodeName=="TABLE"){return}}}if(o.hasChildNodes()){o=o.childNodes[Math.min(!p&&r>0?r-1:r,o.childNodes.length-1)];r=0;if(o.hasChildNodes()&&!/TABLE/.test(o.nodeName)){q=o;n=new a(o,u);do{if(q.nodeType===3&&q.nodeValue.length>0){r=p?0:q.nodeValue.length;o=q;m=true;break}if(t[q.nodeName.toLowerCase()]){r=s.nodeIndex(q);o=q.parentNode;if(q.nodeName=="IMG"&&!p){r++}m=true;break}}while(q=(p?n.next():n.prev()))}}}if(l){if(o.nodeType===3&&r===0){x(true)}if(o.nodeType===1){q=o.childNodes[r];if(q&&q.nodeName==="BR"&&!y(q)&&!y(q,true)){x(true,o.childNodes[r])}}}if(p&&!l&&o.nodeType===3&&r===o.nodeValue.length){x(false)}if(m){g["set"+(p?"Start":"End")](o,r)}}if(d.isIE){return}g=h.getRng();l=g.collapsed;k(true);if(!l){k()}if(m){if(l){g.collapse(true)}h.setRng(g,h.isForward())}},selectorChanged:function(g,j){var h=this,i;if(!h.selectorChangedData){h.selectorChangedData={};i={};h.editor.onNodeChange.addToTop(function(l,k,o){var p=h.dom,m=p.getParents(o,null,p.getRoot()),n={};e(h.selectorChangedData,function(r,q){e(m,function(s){if(p.is(s,q)){if(!i[q]){e(r,function(t){t(true,{node:s,selector:q,parents:m})});i[q]=r}n[q]=r;return false}})});e(i,function(r,q){if(!n[q]){delete i[q];e(r,function(s){s(false,{node:o,selector:q,parents:m})})}})})}if(!h.selectorChangedData[g]){h.selectorChangedData[g]=[]}h.selectorChangedData[g].push(j);return h},scrollIntoView:function(k){var j,h,g=this,i=g.dom;h=i.getViewPort(g.editor.getWin());j=i.getPos(k).y;if(j'+(c?''+c+"":"")}else{d+=''+(c?''+c+"":"")}d+='";d+="";return d},postRender:function(){var d=this,e=d.settings,c;if(b.isIE&&d.editor){b.dom.Event.add(d.id,"mousedown",function(f){var g=d.editor.selection.getNode().nodeName;c=g==="IMG"?d.editor.selection.getBookmark():null})}b.dom.Event.add(d.id,"click",function(f){if(!d.isDisabled()){if(b.isIE&&d.editor&&c!==null){d.editor.selection.moveToBookmark(c)}return e.onclick.call(e.scope,f)}});b.dom.Event.add(d.id,"keydown",function(f){if(!d.isDisabled()&&f.keyCode==b.VK.SPACEBAR){b.dom.Event.cancel(f);return e.onclick.call(e.scope,f)}})}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.ListBox:tinymce.ui.Control",{ListBox:function(j,i,g){var h=this;h.parent(j,i,g);h.items=[];h.onChange=new a(h);h.onPostRender=new a(h);h.onAdd=new a(h);h.onRenderMenu=new e.util.Dispatcher(this);h.classPrefix="mceListBox";h.marked={}},select:function(h){var g=this,j,i;g.marked={};if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){var i=this,j,k,h;i.marked={};if(g!=i.selectedIndex){j=d.get(i.id+"_text");h=d.get(i.id+"_voiceDesc");k=i.items[g];if(k){i.selectedValue=k.value;i.selectedIndex=g;d.setHTML(j,d.encode(k.title));d.setHTML(h,i.settings.title+" - "+k.title);d.removeClass(j,"mceTitle");d.setAttrib(i.id,"aria-valuenow",k.title)}else{d.setHTML(j,d.encode(i.settings.title));d.setHTML(h,d.encode(i.settings.title));d.addClass(j,"mceTitle");i.selectedValue=i.selectedIndex=null;d.setAttrib(i.id,"aria-valuenow",i.settings.title)}j=0}},mark:function(g){this.marked[g]=true},add:function(j,g,i){var h=this;i=i||{};i=e.extend(i,{title:j,value:g});h.items.push(i);h.onAdd.dispatch(h,i)},getLength:function(){return this.items.length},renderHTML:function(){var j="",g=this,i=g.settings,k=g.classPrefix;j='
";return j},showMenu:function(){var h=this,j,i=d.get(this.id),g;if(h.isDisabled()||h.items.length===0){return}if(h.menu&&h.menu.isMenuVisible){return h.hideMenu()}if(!h.isMenuRendered){h.renderMenu();h.isMenuRendered=true}j=d.getPos(i);g=h.menu;g.settings.offset_x=j.x;g.settings.offset_y=j.y;g.settings.keyboard_focus=!e.isOpera;f(h.items,function(k){if(g.items[k.id]){g.items[k.id].setSelected(0)}});f(h.items,function(k){if(g.items[k.id]&&h.marked[k.value]){g.items[k.id].setSelected(1)}if(k.value===h.selectedValue){g.items[k.id].setSelected(1)}});g.showMenu(0,i.clientHeight);b.add(d.doc,"mousedown",h.hideMenu,h);d.addClass(h.id,h.classPrefix+"Selected")},hideMenu:function(h){var g=this;if(g.menu&&g.menu.isMenuVisible){d.removeClass(g.id,g.classPrefix+"Selected");if(h&&h.type=="mousedown"&&(h.target.id==g.id+"_text"||h.target.id==g.id+"_open")){return}if(!h||!d.getParent(h.target,".mceMenu")){d.removeClass(g.id,g.classPrefix+"Selected");b.remove(d.doc,"mousedown",g.hideMenu,g);g.menu.hideMenu()}}},renderMenu:function(){var h=this,g;g=h.settings.control_manager.createDropMenu(h.id+"_menu",{menu_line:1,"class":h.classPrefix+"Menu mceNoIcons",max_width:250,max_height:150});g.onHideMenu.add(function(){h.hideMenu();h.focus()});g.add({title:h.settings.title,"class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}});f(h.items,function(i){if(i.value===c){g.add({title:i.title,role:"option","class":"mceMenuItemTitle",onclick:function(){if(h.settings.onselect("")!==false){h.select("")}}})}else{i.id=d.uniqueId();i.role="option";i.onclick=function(){if(h.settings.onselect(i.value)!==false){h.select(i.value)}};g.add(i)}});h.onRenderMenu.dispatch(h,g);h.menu=g},postRender:function(){var g=this,h=g.classPrefix;b.add(g.id,"click",g.showMenu,g);b.add(g.id,"keydown",function(i){if(i.keyCode==32){g.showMenu(i);b.cancel(i)}});b.add(g.id,"focus",function(){if(!g._focused){g.keyDownHandler=b.add(g.id,"keydown",function(i){if(i.keyCode==40){g.showMenu();b.cancel(i)}});g.keyPressHandler=b.add(g.id,"keypress",function(j){var i;if(j.keyCode==13){i=g.selectedValue;g.selectedValue=null;b.cancel(j);g.settings.onselect(i)}})}g._focused=1});b.add(g.id,"blur",function(){b.remove(g.id,"keydown",g.keyDownHandler);b.remove(g.id,"keypress",g.keyPressHandler);g._focused=0});if(e.isIE6||!d.boxModel){b.add(g.id,"mouseover",function(){if(!d.hasClass(g.id,h+"Disabled")){d.addClass(g.id,h+"Hover")}});b.add(g.id,"mouseout",function(){if(!d.hasClass(g.id,h+"Disabled")){d.removeClass(g.id,h+"Hover")}})}g.onPostRender.dispatch(g,d.get(g.id))},destroy:function(){this.parent();b.clear(this.id+"_text");b.clear(this.id+"_open")}})})(tinymce);(function(e){var d=e.DOM,b=e.dom.Event,f=e.each,a=e.util.Dispatcher,c;e.create("tinymce.ui.NativeListBox:tinymce.ui.ListBox",{NativeListBox:function(h,g){this.parent(h,g);this.classPrefix="mceNativeListBox"},setDisabled:function(g){d.get(this.id).disabled=g;this.setAriaProperty("disabled",g)},isDisabled:function(){return d.get(this.id).disabled},select:function(h){var g=this,j,i;if(h==c){return g.selectByIndex(-1)}if(h&&typeof(h)=="function"){i=h}else{i=function(k){return k==h}}if(h!=g.selectedValue){f(g.items,function(l,k){if(i(l.value)){j=1;g.selectByIndex(k);return false}});if(!j){g.selectByIndex(-1)}}},selectByIndex:function(g){d.get(this.id).selectedIndex=g+1;this.selectedValue=this.items[g]?this.items[g].value:null},add:function(k,h,g){var j,i=this;g=g||{};g.value=h;if(i.isRendered()){d.add(d.get(this.id),"option",g,k)}j={title:k,value:h,attribs:g};i.items.push(j);i.onAdd.dispatch(i,j)},getLength:function(){return this.items.length},renderHTML:function(){var i,g=this;i=d.createHTML("option",{value:""},"-- "+g.settings.title+" --");f(g.items,function(h){i+=d.createHTML("option",{value:h.value},h.title)});i=d.createHTML("select",{id:g.id,"class":"mceNativeListBox","aria-labelledby":g.id+"_aria"},i);i+=d.createHTML("span",{id:g.id+"_aria",style:"display: none"},g.settings.title);return i},postRender:function(){var h=this,i,j=true;h.rendered=true;function g(l){var k=h.items[l.target.selectedIndex-1];if(k&&(k=k.value)){h.onChange.dispatch(h,k);if(h.settings.onselect){h.settings.onselect(k)}}}b.add(h.id,"change",g);b.add(h.id,"keydown",function(q){var n,p=37,m=39,l=38,r=40,k=13,o=32;b.remove(h.id,"change",i);j=false;n=b.add(h.id,"blur",function(){if(j){return}j=true;b.add(h.id,"change",g);b.remove(h.id,"blur",n)});if(q.keyCode==k||q.keyCode==o){g(q);return b.cancel(q)}else{if(q.keyCode==r||q.keyCode==l){q.stopImmediatePropagation()}}});h.onPostRender.dispatch(h,d.get(h.id))}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.MenuButton:tinymce.ui.Button",{MenuButton:function(g,f,e){this.parent(g,f,e);this.onRenderMenu=new c.util.Dispatcher(this);f.menu_container=f.menu_container||b.doc.body},showMenu:function(){var g=this,j,i,h=b.get(g.id),f;if(g.isDisabled()){return}if(!g.isMenuRendered){g.renderMenu();g.isMenuRendered=true}if(g.isMenuVisible){return g.hideMenu()}j=b.getPos(g.settings.menu_container);i=b.getPos(h);f=g.menu;f.settings.offset_x=i.x;f.settings.offset_y=i.y;f.settings.vp_offset_x=i.x;f.settings.vp_offset_y=i.y;f.settings.keyboard_focus=g._focused;f.showMenu(0,h.firstChild.clientHeight);a.add(b.doc,"mousedown",g.hideMenu,g);g.setState("Selected",1);g.isMenuVisible=1},renderMenu:function(){var f=this,e;e=f.settings.control_manager.createDropMenu(f.id+"_menu",{menu_line:1,"class":this.classPrefix+"Menu",icons:f.settings.icons});e.onHideMenu.add(function(){f.hideMenu();f.focus()});f.onRenderMenu.dispatch(f,e);f.menu=e},hideMenu:function(g){var f=this;if(g&&g.type=="mousedown"&&b.getParent(g.target,function(h){return h.id===f.id||h.id===f.id+"_open"})){return}if(!g||!b.getParent(g.target,".mceMenu")){f.setState("Selected",0);a.remove(b.doc,"mousedown",f.hideMenu,f);if(f.menu){f.menu.hideMenu()}}f.isMenuVisible=0},postRender:function(){var e=this,f=e.settings;a.add(e.id,"click",function(){if(!e.isDisabled()){if(f.onclick){f.onclick(e.value)}e.showMenu()}})}})})(tinymce);(function(c){var b=c.DOM,a=c.dom.Event,d=c.each;c.create("tinymce.ui.SplitButton:tinymce.ui.MenuButton",{SplitButton:function(g,f,e){this.parent(g,f,e);this.classPrefix="mceSplitButton"},renderHTML:function(){var i,f=this,g=f.settings,e;i="';j+=" "+d.createHTML("span",{id:g.id+"_voiceDesc","class":"voiceLabel",style:"display:none;"},g.settings.title);j+=d.createHTML("a",{id:g.id+"_text",tabindex:-1,href:"javascript:;","class":"mceText",onclick:"return false;",onmousedown:"return false;"},d.encode(g.settings.title))+" ";j+=""+d.createHTML("a",{id:g.id+"_open",tabindex:-1,href:"javascript:;","class":"mceOpen",onclick:"return false;",onmousedown:"return false;"},'')+" ";j+="";if(g.image){e=b.createHTML("img ",{src:g.image,role:"presentation","class":"mceAction "+g["class"]})}else{e=b.createHTML("span",{"class":"mceAction "+g["class"]},"")}e+=b.createHTML("span",{"class":"mceVoiceLabel mceIconOnly",id:f.id+"_voice",style:"display:none;"},g.title);i+=" ";i=b.createHTML("table",{role:"presentation","class":"mceSplitButton mceSplitButtonEnabled "+g["class"],cellpadding:"0",cellspacing:"0",title:g.title},i);return b.createHTML("div",{id:f.id,role:"button",tabindex:"0","aria-labelledby":f.id+"_voice","aria-haspopup":"true"},i)},postRender:function(){var e=this,g=e.settings,f;if(g.onclick){f=function(h){if(!e.isDisabled()){g.onclick(e.value);a.cancel(h)}};a.add(e.id+"_action","click",f);a.add(e.id,["click","keydown"],function(h){var k=32,m=14,i=13,j=38,l=40;if((h.keyCode===32||h.keyCode===13||h.keyCode===14)&&!h.altKey&&!h.ctrlKey&&!h.metaKey){f();a.cancel(h)}else{if(h.type==="click"||h.keyCode===l){e.showMenu();a.cancel(h)}}})}a.add(e.id+"_open","click",function(h){e.showMenu();a.cancel(h)});a.add([e.id,e.id+"_open"],"focus",function(){e._focused=1});a.add([e.id,e.id+"_open"],"blur",function(){e._focused=0});if(c.isIE6||!b.boxModel){a.add(e.id,"mouseover",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.addClass(e.id,"mceSplitButtonHover")}});a.add(e.id,"mouseout",function(){if(!b.hasClass(e.id,"mceSplitButtonDisabled")){b.removeClass(e.id,"mceSplitButtonHover")}})}},destroy:function(){this.parent();a.clear(this.id+"_action");a.clear(this.id+"_open");a.clear(this.id)}})})(tinymce);(function(d){var c=d.DOM,a=d.dom.Event,b=d.is,e=d.each;d.create("tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton",{ColorSplitButton:function(i,h,f){var g=this;g.parent(i,h,f);g.settings=h=d.extend({colors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",grid_width:8,default_color:"#888888"},g.settings);g.onShowMenu=new d.util.Dispatcher(g);g.onHideMenu=new d.util.Dispatcher(g);g.value=h.default_color},showMenu:function(){var f=this,g,j,i,h;if(f.isDisabled()){return}if(!f.isMenuRendered){f.renderMenu();f.isMenuRendered=true}if(f.isMenuVisible){return f.hideMenu()}i=c.get(f.id);c.show(f.id+"_menu");c.addClass(i,"mceSplitButtonSelected");h=c.getPos(i);c.setStyles(f.id+"_menu",{left:h.x,top:h.y+i.firstChild.clientHeight,zIndex:5002});i=0;a.add(c.doc,"mousedown",f.hideMenu,f);f.onShowMenu.dispatch(f);if(f._focused){f._keyHandler=a.add(f.id+"_menu","keydown",function(k){if(k.keyCode==27){f.hideMenu()}});c.select("a",f.id+"_menu")[0].focus()}f.keyboardNav=new d.ui.KeyboardNavigation({root:f.id+"_menu",items:c.select("a",f.id+"_menu"),onCancel:function(){f.hideMenu();f.focus()}});f.keyboardNav.focus();f.isMenuVisible=1},hideMenu:function(g){var f=this;if(f.isMenuVisible){if(g&&g.type=="mousedown"&&c.getParent(g.target,function(h){return h.id===f.id+"_open"})){return}if(!g||!c.getParent(g.target,".mceSplitButtonMenu")){c.removeClass(f.id,"mceSplitButtonSelected");a.remove(c.doc,"mousedown",f.hideMenu,f);a.remove(f.id+"_menu","keydown",f._keyHandler);c.hide(f.id+"_menu")}f.isMenuVisible=0;f.onHideMenu.dispatch();f.keyboardNav.destroy()}},renderMenu:function(){var p=this,h,k=0,q=p.settings,g,j,l,o,f;o=c.add(q.menu_container,"div",{role:"listbox",id:p.id+"_menu","class":q.menu_class+" "+q["class"],style:"position:absolute;left:0;top:-1000px;"});h=c.add(o,"div",{"class":q["class"]+" mceSplitButtonMenu"});c.add(h,"span",{"class":"mceMenuLine"});g=c.add(h,"table",{role:"presentation","class":"mceColorSplitMenu"});j=c.add(g,"tbody");k=0;e(b(q.colors,"array")?q.colors:q.colors.split(","),function(m){m=m.replace(/^#/,"");if(!k--){l=c.add(j,"tr");k=q.grid_width-1}g=c.add(l,"td");var i={href:"javascript:;",style:{backgroundColor:"#"+m},title:p.editor.getLang("colors."+m,m),"data-mce-color":"#"+m};if(!d.isIE){i.role="option"}g=c.add(g,"a",i);if(p.editor.forcedHighContrastMode){g=c.add(g,"canvas",{width:16,height:16,"aria-hidden":"true"});if(g.getContext&&(f=g.getContext("2d"))){f.fillStyle="#"+m;f.fillRect(0,0,16,16)}else{c.remove(g)}}});if(q.more_colors_func){g=c.add(j,"tr");g=c.add(g,"td",{colspan:q.grid_width,"class":"mceMoreColors"});g=c.add(g,"a",{role:"option",id:p.id+"_more",href:"javascript:;",onclick:"return false;","class":"mceMoreColors"},q.more_colors_title);a.add(g,"click",function(i){q.more_colors_func.call(q.more_colors_scope||this);return a.cancel(i)})}c.addClass(h,"mceColorSplitMenu");a.add(p.id+"_menu","mousedown",function(i){return a.cancel(i)});a.add(p.id+"_menu","click",function(i){var m;i=c.getParent(i.target,"a",j);if(i&&i.nodeName.toLowerCase()=="a"&&(m=i.getAttribute("data-mce-color"))){p.setColor(m)}return false});return o},setColor:function(f){this.displayColor(f);this.hideMenu();this.settings.onselect(f)},displayColor:function(g){var f=this;c.setStyle(f.id+"_preview","backgroundColor",g);f.value=g},postRender:function(){var f=this,g=f.id;f.parent();c.add(g+"_action","div",{id:g+"_preview","class":"mceColorPreview"});c.setStyle(f.id+"_preview","backgroundColor",f.value)},destroy:function(){var f=this;f.parent();a.clear(f.id+"_menu");a.clear(f.id+"_more");c.remove(f.id+"_menu");if(f.keyboardNav){f.keyboardNav.destroy()}}})})(tinymce);(function(b){var d=b.DOM,c=b.each,a=b.dom.Event;b.create("tinymce.ui.ToolbarGroup:tinymce.ui.Container",{renderHTML:function(){var f=this,i=[],e=f.controls,j=b.each,g=f.settings;i.push('"+b.createHTML("a",{role:"button",id:f.id+"_action",tabindex:"-1",href:"javascript:;","class":"mceAction "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+" ";e=b.createHTML("span",{"class":"mceOpen "+g["class"]},'');i+=""+b.createHTML("a",{role:"button",id:f.id+"_open",tabindex:"-1",href:"javascript:;","class":"mceOpen "+g["class"],onclick:"return false;",onmousedown:"return false;",title:g.title},e)+" ";i+="'+k.renderHTML()+" "}else{f+=""+k.renderHTML()+" "}if(g&&k.ListBox){if(g.Button||g.SplitButton){f+=c.createHTML("td",{"class":"mceToolbarStart"},c.createHTML("span",null,""))}}}j="mceToolbarEnd";if(k.Button){j+=" mceToolbarEndButton"}else{if(k.SplitButton){j+=" mceToolbarEndSplitButton"}else{if(k.ListBox){j+=" mceToolbarEndListBox"}}}f+=c.createHTML("td",{"class":j},c.createHTML("span",null,""));return c.createHTML("table",{id:m.id,"class":"mceToolbar"+(n["class"]?" "+n["class"]:""),cellpadding:"0",cellspacing:"0",align:m.settings.align||"",role:"presentation",tabindex:"-1"},""+f+" ")}})})(tinymce);(function(b){var a=b.util.Dispatcher,c=b.each;b.create("tinymce.AddOnManager",{AddOnManager:function(){var d=this;d.items=[];d.urls={};d.lookup={};d.onAdd=new a(d)},get:function(d){if(this.lookup[d]){return this.lookup[d].instance}else{return undefined}},dependencies:function(e){var d;if(this.lookup[e]){d=this.lookup[e].dependencies}return d||[]},requireLangPack:function(e){var d=b.settings;if(d&&d.language&&d.language_load!==false){b.ScriptLoader.add(this.urls[e]+"/langs/"+d.language+".js")}},add:function(f,e,d){this.items.push(e);this.lookup[f]={instance:e,dependencies:d};this.onAdd.dispatch(this,f,e);return e},createUrl:function(d,e){if(typeof e==="object"){return e}else{return{prefix:d.prefix,resource:e,suffix:d.suffix}}},addComponents:function(f,d){var e=this.urls[f];b.each(d,function(g){b.ScriptLoader.add(e+"/"+g)})},load:function(j,f,d,h){var g=this,e=f;function i(){var k=g.dependencies(j);b.each(k,function(m){var l=g.createUrl(f,m);g.load(l.resource,l,undefined,undefined)});if(d){if(h){d.call(h)}else{d.call(b.ScriptLoader)}}}if(g.urls[j]){return}if(typeof f==="object"){e=f.prefix+f.resource+f.suffix}if(e.indexOf("/")!==0&&e.indexOf("://")==-1){e=b.baseURL+"/"+e}g.urls[j]=e.substring(0,e.lastIndexOf("/"));if(g.lookup[j]){i()}else{b.ScriptLoader.add(e,i,h)}}});b.PluginManager=new b.AddOnManager();b.ThemeManager=new b.AddOnManager()}(tinymce));(function(j){var g=j.each,d=j.extend,k=j.DOM,i=j.dom.Event,f=j.ThemeManager,b=j.PluginManager,e=j.explode,h=j.util.Dispatcher,a,c=0;j.documentBaseURL=window.location.href.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,"");if(!/[\/\\]$/.test(j.documentBaseURL)){j.documentBaseURL+="/"}j.baseURL=new j.util.URI(j.documentBaseURL).toAbsolute(j.baseURL);j.baseURI=new j.util.URI(j.baseURL);j.onBeforeUnload=new h(j);i.add(window,"beforeunload",function(l){j.onBeforeUnload.dispatch(j,l)});j.onAddEditor=new h(j);j.onRemoveEditor=new h(j);j.EditorManager=d(j,{editors:[],i18n:{},activeEditor:null,init:function(x){var v=this,o,n=j.ScriptLoader,u,l=[],r;function q(t){var s=t.id;if(!s){s=t.name;if(s&&!k.get(s)){s=t.name}else{s=k.uniqueId()}t.setAttribute("id",s)}return s}function m(z,A,t){var y=z[A];if(!y){return}if(j.is(y,"string")){t=y.replace(/\.\w+$/,"");t=t?j.resolve(t):0;y=j.resolve(y)}return y.apply(t||this,Array.prototype.slice.call(arguments,2))}function p(t,s){return s.constructor===RegExp?s.test(t.className):k.hasClass(t,s)}v.settings=x;i.bind(window,"ready",function(){var s,t;m(x,"onpageload");switch(x.mode){case"exact":s=x.elements||"";if(s.length>0){g(e(s),function(y){if(k.get(y)){r=new j.Editor(y,x);l.push(r);r.render(1)}else{g(document.forms,function(z){g(z.elements,function(A){if(A.name===y){y="mce_editor_"+c++;k.setAttrib(A,"id",y);r=new j.Editor(y,x);l.push(r);r.render(1)}})})}})}break;case"textareas":case"specific_textareas":g(k.select("textarea"),function(y){if(x.editor_deselector&&p(y,x.editor_deselector)){return}if(!x.editor_selector||p(y,x.editor_selector)){r=new j.Editor(q(y),x);l.push(r);r.render(1)}});break;default:if(x.types){g(x.types,function(y){g(k.select(y.selector),function(A){var z=new j.Editor(q(A),j.extend({},x,y));l.push(z);z.render(1)})})}else{if(x.selector){g(k.select(x.selector),function(z){var y=new j.Editor(q(z),x);l.push(y);y.render(1)})}}}if(x.oninit){s=t=0;g(l,function(y){t++;if(!y.initialized){y.onInit.add(function(){s++;if(s==t){m(x,"oninit")}})}else{s++}if(s==t){m(x,"oninit")}})}})},get:function(l){if(l===a){return this.editors}if(!this.editors.hasOwnProperty(l)){return a}return this.editors[l]},getInstanceById:function(l){return this.get(l)},add:function(m){var l=this,n=l.editors;n[m.id]=m;n.push(m);l._setActive(m);l.onAddEditor.dispatch(l,m);return m},remove:function(n){var m=this,l,o=m.editors;if(!o[n.id]){return null}delete o[n.id];for(l=0;l