📄 _radeditormodules.js
字号:
function RadEditorModuleBase(moduleArgs){if (!moduleArgs)return; this.Editor=moduleArgs.Editor; this.IsIE=this.Editor.IsIE; this.Localization=this.Editor.Localization; this.Document=moduleArgs.Document; this.ModuleElement=moduleArgs.ModuleElement; this.T=moduleArgs.T; this.Id=moduleArgs.Id; this.ModuleElement.className=moduleArgs.ClassName?moduleArgs.ClassName: "\x52adEModule"; this.Ia6=(null!=moduleArgs.Ia6)?moduleArgs.Ia6: true; this.i9m=null; this.iad= {} ; this.la0= false; this.IsEnabled= false; this.Iad=moduleArgs.Iad; this.oae=moduleArgs.oae; this.Oae=null; this.oa7= true; }RadEditorModuleBase.prototype.O1m= function (){if (!this.la0)this.Create(); return this.i9m; } ; RadEditorModuleBase.prototype.SetVisible= function (visible){if (visible && !this.IsEnabled)return; var o8=this.O1m(); if (visible){if (o8.O8v){o8.O8v(); }}else {if (o8.I8s)o8.I8s(); else o8.style.display="\x6eone"; }} ; RadEditorModuleBase.prototype.lae= function (){if (!this.Ia6)return; var iae= false; if (!this.Iad){var o8=this.O1m(); if (o8 && o8.parentNode && !this.Editor.Iae(o8.parentNode)){iae= true; }}else {var o8=this.O1m(); if (o8.O8t && o8.O8t() && !o8.o8y)iae= true; }if (iae)this.oaf(); } ; RadEditorModuleBase.prototype.oaf= function (){if (!TelerikNamespace.Utils.DetectBrowser("safar\x69")){var I6k=this.Editor.Oaf(); if (I6k && this.i9m){ this.i9m.style.width=I6k+"\x70x"; }}else { this.i9m.style.width="\064\x300px"; }} ; RadEditorModuleBase.prototype.Dispose= function (){for (var i in this.iad)this.DetachEventHandler(i); this.iad=null; try {if (this.l9l)this.l9l(); }catch (e){}if (this.i9m){ this.i9m.O9f=null; this.i9m.o8x=null; this.i9m=null; } this.ModuleElement=null; this.Editor=null; } ; RadEditorModuleBase.prototype.l1j= function (I7h){ this.IsEnabled=I7h; this.SetVisible(I7h); } ; RadEditorModuleBase.prototype.laf= function (){var i1x=RadEditorNamespace.Utils.iaf(document); i1x.insertRow(-1); if (this.Iad)i1x.width="\x3100%"; var l1y=i1x.rows[0].insertCell(-1); l1y.innerHTML="\x3c\x73pan styl\x65=\047\x66ont\x2dsiz\x65\x3a0px\x3b\x27>&\x6ebsp;\x3c/span\x3e"; if (this.oa7)l1y.setAttribute("width","99%"); l1y.setAttribute("\x68eight","\x31\0600\x25"); l1y.appendChild(this.ModuleElement); if (this.Iad && RadEditorNamespace.O8g){var l7v=RadEditorNamespace.O8g.O8n(i1x,this.o8y,RadEditorNamespace.Iaf,RadEditorNamespace.oag,"RadEModule\x54\x61ble","\x52adEModuleTa\x62\x6ce",this.T); i1x=l7v; } this.Oae=document.all?"inline": ""; i1x.className="RadEModule\x54\x61ble"; if (!document.all){i1x.setAttribute("style","\x66loat:lef\x74"); }return i1x; } ; RadEditorModuleBase.prototype.Create= function (){ this.i9m=this.laf(); var module=this ; this.AttachEventHandler(RadEditorNamespace.Oag, function (){module.lae(); } ); if (!this.IsIE){ this.i9m.o8x= function (){module.Editor.SetSize(module.Width,module.Height, false); };} this.la0= true; if (this.OnCreate){ this.OnCreate(); }return this.i9m; } ; RadEditorNamespace.Iaf= function (){ this.style.width=""; if (this.i9l!=null){ this.i9l(); }} ; RadEditorNamespace.oag= function (){ this.style.width="100px"; if (this.I9l!=null){ this.I9l(); }} ; RadEditorModuleBase.prototype.O2l= function (lag,defaultValue){var iag=typeof(this ).toString(); var o3s=this.Localization[lag]; return o3s!=null?o3s:defaultValue; } ; RadEditorModuleBase.prototype.AttachEventHandler= function (I2r,O2s){ this.iad[I2r]=O2s; this.Editor.AttachEventHandler(I2r,this.iad[I2r]); } ; RadEditorModuleBase.prototype.DetachEventHandler= function (I2r){ this.Editor.DetachEventHandler(I2r,this.iad[I2r]); } ; RadEditorModuleBase.prototype.OnCreate= function (){} ; RadEditorModuleBase.prototype.l9l= function (){} ;;RadEditor.prototype.Iag= function (oah){var Oah=oah.lah.length; if (Oah>0){for (var i=0; i<Oah; i++){var iah=oah.lah[i]; var Iah=0; var iag=iah[Iah++]; var o8j=iah[Iah++]; var dockable=iah[Iah++]; var visible=iah[Iah++]; var oai=iah[Iah++]; var Oai=iah[Iah++]; var I2l=iah[Iah++]; var id=null; try {oah.lai(iag,o8j,dockable,visible,id); }catch (e){} ; }var iai= function (l10){l10.AttachEventHandler(RadEditorNamespace.Iai, function (){var oaj=(l10.i2h==RadEditorNamespace.I2h); l10.Oaj(oaj); } ); } ; iai(oah); }} ; RadEditor.prototype.lai= function (iag,o8j,dockable,oaj,id){var laj=this.O2l(iag,iag); var moduleArgs= {Editor: this,Document:document,T:laj,Id:id,oae:o8j,Iad:dockable && this.i96 };eval("va\x72 mod\x75\x6ce = \x6e\x65w "+iag+"\x28modul\x65\x41rgs)"); this.o1m[this.o1m.length]=module; var oah=this ; if (!module.la0){var iaj=module.Create(); var parentNode=this.O1o(module.oae); parentNode.appendChild(iaj); if (module.Iad)oah.o8h(iaj); module.l1j(oaj); }return module; } ; RadEditor.prototype.Oaj= function (iab){var I1l=this.o1m; for (var count=0; count<I1l.length; count++){I1l[count].SetVisible(iab); }} ;;RadEditorNamespace.la5= {o:function (l9s){l9s.ClassName="R\x61\x64EToolLon\x67"; l9s.I3t=73; l9s.o3u=85; l9s.oa3=2; l9s.Oa3=2; l9s.Iaj="\x52adAlignment\x53\x65lec\x74\x6fr\x54\141\x62le"; var Z=RadEditorNamespace.oak.o(l9s); RadEditorNamespace.Utils.w(Z,this ); Z.Oak=""; Z.lak=null; Z.iak=null; Z.o38=-1; Z.O26=l9s.O26; Z.i3k=3; Z.Iak=Z.O3w.GetDocument(); return Z; } ,l35: [["",""],["no\x6e\x65",""],["",""],["",""],["top",""],["",""],["\154e\x66\x74",""],["absmidd\x6c\x65",""],["right",""],["",""],["bo\x74\x74om",""],["",""]],i35: [["",""],["\x6eone",""],["",""],["left","\x74op"],["\x63enter","top"],["\x72ight","top"],["\x6ceft","\x6diddle"],["\x63enter","\x6diddle"],["\x72ight","middle"],["left","\x62ottom"],["\x63\x65nter","bottom"],["right","\x62ottom"]],I35: [["",""],["\x6eone",""],["",""],["left",""],["center",""],["\x72ight",""],["",""],["",""],["",""],["",""],["",""],["",""]],o36: [["",""],["non\x65",""],["",""],["\x6c\x65ft","\x74op"],["cente\x72","top"],["right","top"],["",""],["",""],["",""],["\x6ceft","\x62ottom"],["\x63enter","bottom"],["\x72ight","bot\x74\x6fm"]],O36: [["",""],["no\x6e\x65",""],["",""],["",""],["","\x74op"],["",""],["",""],["",""],["",""],["",""],["","bottom"],["",""]],l36: ["x\x2e\x67if","x\x2e\x67if","x.\x67\x69f","AlignTo\x70\x4ceft.\x67\x69f","\x41\x6cignTop\x43\x65nter\x2e\x67\x69\x66","Alig\x6e\x54opRigh\x74\x2egif","AlignMiddle\x4c\x65ft.g\x69\x66","\x41lignMid\x64\x6ceCent\x65\x72.gi\x66","\x41lign\x4d\x69ddleR\x69\x67ht.\x67\x69f","AlignB\x6f\x74tomLe\x66\x74.gi\x66","A\x6c\x69gnBottom\x43\x65nte\x72\x2egif","AlignB\x6f\x74tomRi\x67\x68t.gi\x66"],ia0:function (tagName){ this.Oak=tagName; this.lak=this.oal(this.Oak); this.SelectAlignmentByIndex(this.o38); } ,oal:function (tagName){switch (tagName.toUpperCase()){case "IMG":return this.l35; case "TABLE":return this.I35; case "T\x44":return this.i35; case "\x54H":return this.i35; case "CAPTION":return (this.IsIE?this.o36: this.O36); default:return null; }} ,Oal:function (tagName){var table=this.lal; var count=0; for (var i=0; i<table.rows.length; i++){var l39= false; for (var j=0; j<table.rows[i].cells.length; j++){var oo=table.rows[i].cells[j]; var i39=this.I39(count++); oo.style.visibility=i39?"v\x69sible": "hidden"; l39 |= i39; }if (null!=document.all){table.rows[i].style.display=l39?"": "\x6eone"; }}} ,I39:function (index){var o3a= false; if (this.lak){var O3a=this.lak[index]; o3a=((null!=O3a) && (""!=O3a[0] || ""!=O3a[1])); }return o3a; } ,i3a:function (I3a){var o8=this.O1m().getElementsByTagName("\x49\x4d\x47")[0]; o8.src=this.O26+"Img/"+I3a; o8.style.margin="4px"; } ,SelectAlignmentByIndex:function (index){if (index==this.o38){ this.iak=""; this.i3a("x\x2e\x67if"); }else {if (this.lak && 0<=index && index<this.lak.length){ this.iak=this.lak[index]; this.i3a(this.l36[index]); if (""!=this.i38)eval(this.i38); }}} ,o2y:function (align,vAlign){align=(""==align || !align)?"\x6eone":align.toUpperCase(); vAlign=!vAlign?"":vAlign.toUpperCase(); if (this.lak){var o3b=-1; for (i=0; i<this.lak.length; i++){if (this.I39(i)){var O3b=this.lak[i][0].toUpperCase(); var l3b=this.lak[i][1].toUpperCase(); if (-1==o3b){o3b=i; }if ((align==O3b || align==l3b) && (vAlign==O3b || vAlign==l3b)){ this.SelectAlignmentByIndex(i); return; }}} this.SelectAlignmentByIndex(o3b); }} ,SetValue:function (align,vAlign){ this.o2y(align,vAlign); } ,i2x:function (){var value=(this.iak?this.iak[0]: ""); if ("\x6e\x6f\x6ee"==value){value=""; }return value; } ,I2x:function (){var value=(this.iak?this.iak[1]: ""); if ("\156on\x65"==value){value=""; }return value; } ,ial:function (){if (!this.Ial){ this.oam(); this.Ial= true; } this.Oal(this.Oak); } ,oam:function (){var i1x=this.lal; var o1y=null; var I3l=0; var Oam=this.l36.length; for (var i=0; i<Oam; i++){if (0==i%this.i3k){o1y=i1x.insertRow(i1x.rows.length); I3l=0; }I3l++; this.lam(o1y,i); }} ,lam:function (o1y,index){var l1y=o1y.insertCell(o1y.cells.length); l1y.iam="\x4fver"; l1y.Iam=""; l1y.onmouseout=RadEditorNamespace.oan; l1y.onmouseover=RadEditorNamespace.Oan; var l2c=this.Iak.createElement("Img"); l2c.align="absMiddle"; l2c.border="0"; l2c.src=this.O26+"\x49mg/"+this.l36[index]; l1y.appendChild(l2c); l1y.Value=index; var parent=this ; l1y.onclick= function (){parent.SelectAlignmentByIndex(this.Value); this.className=this.Iam; return false; } ; return l1y; }} ;;RadEditorDomInspector.prototype=new RadEditorModuleBase(); RadEditorDomInspector.prototype.base=RadEditorModuleBase.prototype.constructor; var l9k="\x320\x70\x78"; var i9k="80px"; function RadEditorDomInspector(moduleArgs){var I9k=moduleArgs.Document.createElement("\104\x49V"); I9k.style.paddingTop="\x32px"; moduleArgs.ModuleElement=I9k.cloneNode( true); this.base(moduleArgs); this.o9l=null; this.O9l=this.O2l("\x44omInspec\x74\x6frRe\x6d\x6fve\x45lement","Remove \x45\x6cement"); } ; RadEditorDomInspector.prototype.l9l= function (){ this.Clear(); };RadEditorDomInspector.prototype.i9l= function (){ this.style.height=l9k; } ; RadEditorDomInspector.prototype.I9l= function (){ this.style.height=i9k; } ; RadEditorDomInspector.prototype.OnCreate= function (){var o6j=this ; this.AttachEventHandler(RadEditorNamespace.o9m, function (){o6j.O9m(); } ); var l9m=this.i9m; l9m.I9l=this.I9l; l9m.i9l=this.i9l; l9m.style.width=this.Editor.Width; l9m.style.height=l9k; };RadEditorDomInspector.prototype.O9m= function (){if (!this.IsEnabled)return; var I5a=this.Editor.GetSelection().GetParentElement(); if (!I5a)return; var I9m=this.Editor.l19; if (this.Editor.IsIE && !I9m.contains(I5a))return; var array=[]; var I7r=0; while (I5a!=I9m){array[I7r++]=I5a; I5a=I5a.parentNode; } this.Clear(); var o9n=null; var i17; var O9n= false; for (var i=array.length-1; i>=0; i--){i17=array[i]; O9n=(0==i) || (null!=this.l9n && i17==this.l9n); if (i17 && i17.tagName){i9n=(0==i) || (null!=this.l9n && i17==this.l9n); o9n=this.I9n(i17,i9n); }if (O9n){break; }} this.l9n=null; this.o9l=o9n; if (this.o9l){var o9o=this.Document.createElement("\x41"); o9o=o9o.cloneNode( true); o9o.innerHTML=this.O9l; o9o.href="javascript\x3a\x76oid\x28\x30)"; o9o.className="\x44omPathL\x69\x6ek"; var I2s=this ; o9o.onmousedown= function (e){I2s.O9o(); return false; } ; this.ModuleElement.appendChild(o9o); }} ; RadEditorDomInspector.prototype.I9n= function (i17,i9n){var o9o=this.Document.createElement("\x41"); o9o=o9o.cloneNode( true); this.ModuleElement.appendChild(o9o); var empty=this.Document.createElement("SPAN"); empty.innerHTML="\x26\x6ebsp;> "; this.ModuleElement.appendChild(empty); var l9o=new i9o(o9o,i17,(i9n?"\104\x6fmPathLink\x53\x65lec\x74ed": ""),i9n,this ); return l9o; } ; RadEditorDomInspector.prototype.Clear= function (){ this.ModuleElement.innerHTML=""; if (this.o9l){ this.o9l.Clear(); }} ; RadEditorDomInspector.prototype.O9o= function (){if (!this.o9l || !this.o9l.I9o){return; }var I5a=this.o9l.I9o; try {if (I5a.tagName=="\x54D" || I5a.tagName=="\x54\x48"){ this.Editor.O28(); }else if (I5a.tagName=="TR"){ this.Editor.I27(); }else if (I5a.tagName=="\x54ABLE" || I5a.tagName=="\x54BODY" || I5a.tagName=="\x54\x48EAD" || I5a.tagName=="\x54FOOT" || I5a.tagName=="\x45MBE\x44" || I5a.tagName=="OBJECT" || I5a.tagName=="INPUT" || I5a.tagName=="IMG" || I5a.tagName=="HR"){var o9p=RadEditorNamespace.L.o(this.O9l,this.Editor.ContentWindow); var parentNode=I5a.parentNode; parentNode.removeChild(I5a); this.Editor.SetFocus(); this.Editor.i15(o9p); l15.Select(); this.Editor.SetActive(); this.Editor.SetFocus(); }else if (I5a.tagName!="BODY"){var l15=RadEditorNamespace.K(this.Editor.ContentWindow); var parentNode=I5a.parentNode; var o9p=RadEditorNamespace.L.o(this.O9l,this.Editor.ContentWindow); var O9p=""; for (var i=0; i<parentNode.childNodes.length; i++){if (I5a!=parentNode.childNodes[i]){O9p+=RadEditorNamespace.Utils.O24(parentNode.childNodes[i]); }else {O9p+=I5a.innerHTML; }}parentNode.innerHTML=O9p; this.Editor.SetFocus(); this.Editor.i15(o9p); l15.Select(); this.Editor.SetActive(); this.Editor.SetFocus(); }}catch (ex){} this.Editor.l9p(RadEditorNamespace.o9m,null); } ; RadEditorDomInspector.prototype.SelectElement= function (I5a){try { this.l9n=I5a; this.Editor.SelectElement(I5a); this.l9n=null; }catch (ex){}};function i9o(o9o,i17,className,i9n,RadEditorDomInspector){ this.RadEditorDomInspector=RadEditorDomInspector; this.i9p=o9o; this.I9o=i17; this.o7g=i9n; if (o9o){o9o.href="javasc\x72ipt:voi\x64\x280);"; o9o.className=className?className: "\x44omPathLink"; var I2s=this ; o9o.onclick= function (){I2s.Select(); return false; } ; o9o.onmouseover= function (){I2s.I9p(); return false; } ; o9o.onmouseout= function (){I2s.o9q(); return false; } ; if (i17!=null){o9o.innerHTML=i17.tagName; }}} ; i9o.prototype.Clear= function (){ this.RadEditorDomInspector.o9l=null; this.i9p.className="DomP\x61\164h\x4c\x69nk"; } ; i9o.prototype.I9p= function (){if (this.o7g)return; this.O9q=this.I9o.className; this.I9o.className+=" RadED\x6f\x6dMouse\x4f\x76er"; } ; i9o.prototype.o9q= function (){if (null!=this.O9q)this.I9o.className=this.O9q; if (""==this.I9o.className){ this.I9o.removeAttribute("\x63lass\x4e\x61me",0); this.I9o.removeAttribute("\x63lass",0); }} ; i9o.prototype.Select= function (){ this.o9q(); if (this.RadEditorDomInspector.o9l){ this.RadEditorDomInspector.o9l.Clear(); } this.i9p.className="DomP\x61\x74hLink\x53\x65lect\x65d"; this.RadEditorDomInspector.o9l=this ; this.RadEditorDomInspector.SelectElement(this.I9o); } ;;RadEditorHtmlInspector.prototype=new RadEditorModuleBase(); RadEditorHtmlInspector.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorHtmlInspector(moduleArgs){var l9q=moduleArgs.Document.createElement("t\x65xtar\x65\x61"); moduleArgs.ModuleElement=l9q.cloneNode( true); moduleArgs.ClassName="R\x61\x64ETextA\x72\x65a"; moduleArgs.i9q= true; this.base(moduleArgs); this.ModuleElement.setAttribute("\x72ows","\x310"); this.ModuleElement.setAttribute("cols","\x380"); this.ModuleElement.style.width="99%"; if (!document.all)this.ModuleElement.onclick= function (){ this.focus(); } ; } ; RadEditorHtmlInspector.prototype.l9l= function (){ this.ModuleElement.onkeyup=null; };RadEditorHtmlInspector.prototype.I9q= function (keyCode){if (keyCode==32 || keyCode==9 || keyCode==8 || keyCode==46 || keyCode==13){return true; }if (keyCode==190)return true; if (keyCode>47 && keyCode<58)return true; return false; } ; RadEditorHtmlInspector.prototype.OnCreate= function (){var o6j=this ; this.AttachEventHandler(RadEditorNamespace.o9m, function (){o6j.o9r(); } ); this.AttachEventHandler(RadEditorNamespace.O9r, function (){o6j.ModuleElement.value=""; } ); this.ModuleElement.onkeyup= function l12(e){if (!e)e=window.event; if (o6j.I9q(e.keyCode)){o6j.l9r(e); }} ; var i9r=this ; this.i9m.O9f= function (){var I9r=i9r.ModuleElement; I9r.style.height=(parseInt(i9r.i9m.offsetHeight)-3)+"\x70x"; I9r.style.width=(parseInt(i9r.i9m.offsetWidth)-3)+"px"; };} ; RadEditorHtmlInspector.prototype.l9r= function (e){if (!this.IsEnabled)return; this.o9s= true; this.Editor.SetHtml(this.ModuleElement.value,this.Localization["\x54yping"], false); this.ModuleElement.focus(); } ; RadEditorHtmlInspector.prototype.o9r= function (){if (this.o9s){ this.o9s= false; return; } this.ModuleElement.value=this.Editor.GetHtml(); } ;;RadEditorNamespace.O9s= function (l9s){ this.Width=l9s.Width?parseInt(l9s.Width)+"\x70x": "\x350px"; this.T=l9s.T; this.Controller=l9s.Controller; this.Name=l9s.Name; this.Document=l9s.Document; this.i9s=""; this.ClassName="\x52\x61dETextB\x6f\x78"; };RadEditorNamespace.O9s.prototype.Dispose= function (){ this.Element.onchange=null; this.Element.onkeydown=null; this.Element.onblur=null; this.Element=null; } ; RadEditorNamespace.O9s.prototype.O1m= function (){return this.Element; } ; RadEditorNamespace.O9s.prototype.GetSelectedValue= function (){return this.i9s; } ; RadEditorNamespace.O9s.prototype.SetValue= function (value){ this.Element.value=value; } ; RadEditorNamespace.O9s.prototype.Create= function (){var I9s=this.Document.createElement("\x49NPUT"); I9s=I9s.cloneNode( true); I9s.setAttribute("size","3"); I9s.style.width=this.Width; I9s.className=this.ClassName; I9s.id=this.T; I9s.Parent=this ; var O10=this.Name; var o9t= function l12(e,I5a,O9t){if (O9t){if (I5a.l9t){I5a.l9t= false; if (e && e.preventDefault)e.preventDefault(); return; }}I5a.l9t= true; I5a.Parent.i9s=I5a.value; I5a.Parent.Controller.Fire(O10,I5a.Parent); if (e && e.preventDefault)e.preventDefault(); return false; } ; var i9t= function l12(e){if (!e)e=window.event; return o9t(e,this, true); } ; I9s.onchange=i9t; I9s.onkeydown= function l12(e){if (!e)e=window.event; if (e.keyCode==13){return o9t(e,this ); }} ; this.Element=I9s; return this.Element; } ; RadEditorNamespace.I9t= function (l9s){ this.T=l9s.T; this.Controller=l9s.Controller; this.Name=l9s.Name; this.Document=l9s.Document; this.i9s=""; };RadEditorNamespace.I9t.prototype.Dispose= function (){ this.Element.onclick=null; this.Element=null; } ; RadEditorNamespace.I9t.prototype.O1m= function (){return this.Element; } ; RadEditorNamespace.I9t.prototype.GetSelectedValue= function (){return this.i9s; } ; RadEditorNamespace.I9t.prototype.SetValue= function (value){if (this.Element.checked!=value)this.Element.checked=value; } ; RadEditorNamespace.I9t.prototype.Create= function (){var I9s=this.Document.createElement("\111NPUT"); I9s=I9s.cloneNode( true); I9s.setAttribute("\x73ize","3"); I9s.setAttribute("type","\x43HECKBO\x58"); I9s.Parent=this ; var O10=this.Name; I9s.onclick= function l12(){ this.Parent.i9s=this.checked; this.Parent.Controller.Fire(O10,this.Parent); } ; this.Element=I9s; return this.Element; } ; RadEditorNamespace.o9u= function (l9s){ this.T=l9s.T; this.Controller=l9s.Controller; this.Name=l9s.Name; this.Document=l9s.Document; this.Width=l9s.Width?l9s.Width: "9\x35px"; this.O9u=l9s.O9u; this.i9s=""; };RadEditorNamespace.o9u.prototype.Dispose= function (){ this.Element.onchange=null; this.Element=null; } ; RadEditorNamespace.o9u.prototype.O1m= function (){return this.Element; } ; RadEditorNamespace.o9u.prototype.GetSelectedValue= function (){return this.i9s; } ; RadEditorNamespace.o9u.prototype.SetValue= function (value){var options=this.Element.options; for (var i=0; i<options.length; i++){if (options[i].value==value){ this.Element.selectedIndex=i; return; }} this.Element.selectedIndex=-1; } ; RadEditorNamespace.o9u.prototype.Create= function (){var I9s=this.Document.createElement("\x53ELEC\x54"); I9s=I9s.cloneNode( true); I9s.className="RadEDr\x6f\x70Down"; I9s.style.width=this.Width; var l9u=this.O9u; I9s.options[0]=new Option("\x2d--",""); for (var item in l9u){if (typeof(l9u[item])=="string"){I9s.options[I9s.options.length]=new Option(l9u[item],item); }}I9s.Parent=this ; var O10=this.Name; I9s.onchange= function l12(){ this.Parent.i9s=this.options[this.selectedIndex].value; this.Parent.Controller.Fire(O10,this.Parent); } ; this.Element=I9s; return this.Element; } ; RadEditorNamespace.i9u="51px"; RadEditorNodeInspector.prototype=new RadEditorModuleBase(); RadEditorNodeInspector.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorNodeInspector(moduleArgs){var I9k=moduleArgs.Document.createElement("DIV"); moduleArgs.ModuleElement=I9k.cloneNode( true); this.base(moduleArgs); this.I9u=this.Editor.O26+"Buttons/arr\x6fwDropd\x6f\x77n.g\x69\146"; this.o9v=this.Editor.O26+"Butto\x6e\x73/arr\x6f\x77Icon\x2e\147i\x66"; this.IsIE=document.all? true : false; this.O9v= {} ; this.l9v= {} ; this.l9n=null; this.i9v=this.O2l("NodeIn\x73\x70ecto\x72\x53elec\x74edEleme\x6e\x74","\x54\x68e sele\x63\x74ed \x65\x6ceme\x6e\x74 is\x20"); this.I9v=this.O2l("NodeI\x6e\x73pecto\x72\x49nva\x6c\151d\x56\x61lue","\x49nvali\x64\x20valu\x65\x2e Pl\x65\x61se \x65\x6eter\x20\141 \x6eumbe\x72."); } ; RadEditorNodeInspector.prototype.o9w= function (M){return this.Editor.o9w(M); };RadEditorNodeInspector.prototype.l9l= function (){var O9w=this.O9v; for (var l9w in O9w){var i9w=O9w[l9w]; if (i9w.Dispose){i9w.Dispose(); }}var I9w=this.o9x; if (I9w){for (var O9x=0; O9x<I9w.rows.length; O9x++){var o1y=I9w.rows[O9x]; var l9x=o1y.cells.length; for (var i=0; i<l9x; i++){var l8r=o1y.cells[0]; l8r.style.display=""; l8r.parentNode.deleteCell(l8r); }}} this.O9v=null; this.o9x=null; };i9x=[["\x72\x6f\x77s","\116\x41\x4dE","width","\x63ellSp\x61\x63ing","align","\x68ref","\x76alue","\x63lassName",RadEditorNamespace.O2b,RadEditorNamespace.i2b,RadEditorNamespace.l2g,RadEditorNamespace.O2c],["co\x6c\x73","\x69d","\x68eight","action","\x63ellPadding","borderColo\x72","bgColor","\x62order","alt","\x6eoWrap","\x74arget","title"]]; RadEditorNodeInspector.prototype.I9x= {} ; RadEditorNodeInspector.prototype.I9x["TABLE"]=["\x77idth","cel\x6c\x53pacing","bgColo\x72","\x63lassName",RadEditorNamespace.O2b,"\x68\x65ight","\x63ellPadding","align","border"]; RadEditorNodeInspector.prototype.I9x["\x54H"]=RadEditorNodeInspector.prototype.I9x["\x54D"]=["\x77idth","\x62gColor","c\x6c\x61ssName",RadEditorNamespace.i2b,"\x68\145i\x67\x68t","\x61\x6cign","noWr\x61\x70"]; RadEditorNodeInspector.prototype.I9x["TR"]=["w\x69\x64th","clas\x73\x4eame","height"]; RadEditorNodeInspector.prototype.I9x["\x41"]=["href","class\x4e\x61me",RadEditorNamespace.l2g,"title","\x74arge\x74"]; RadEditorNodeInspector.prototype.I9x["IMG"]=["wid\x74\x68","bo\x72\x64erColor","classN\x61\x6de",RadEditorNamespace.O2c,"\x68eight","align","border","alt"]; RadEditorNodeInspector.prototype.I9x["IN\x50\x55T"]=["NAME","width","heig\x68\x74","i\x64","title","\x76alue","className"]; RadEditorNodeInspector.prototype.I9x["\x46ORM"]=["\x63lassNa\x6d\x65","\167\x69\x64th","height","\x4eAME","action","\x69\x64"]; RadEditorNodeInspector.prototype.I9x["\x54\x45XTAREA"]=["\x63lassNam\x65","width","\x68eight","\x4e\x41ME","id","rows","\x63ols"]; RadEditorNodeInspector.prototype.OnCreate= function (){var o6j=this ; this.AttachEventHandler(RadEditorNamespace.o9m, function (){o6j.o9y(); } ); var l9m=this.i9m; l9m.I9l=RadEditorNamespace.O9y; l9m.i9l=RadEditorNamespace.l9y; l9m.style.height=RadEditorNamespace.i9u; l9m.style.width=this.Editor.Width; } ; RadEditorNodeInspector.prototype.i9y= function (){var O9w=this.O9v; var I9y=this.l9v; var o9z=i9x; var I9w=this.Document.createElement("T\x41BLE"); I9w=I9w.cloneNode( true); I9w.border=0; I9w.cellSpacing=0; I9w.cellPadding=0; for (var O9x=0; O9x<o9z.length; O9x++){var O9z=o9z[O9x]; var o1y=I9w.insertRow(-1); for (var i=0; i<O9z.length; i++){var item=O9z[i]; var l1y=o1y.insertCell(-1); l1y.style.display="none"; l1y.setAttribute("contro\x6cName",item); l1y.innerHTML=this.O2l(item,item); l1y.className="\x52adETo\x6f\x6cText"; l1y.style.paddingLeft="4px"; l1y=o1y.insertCell(-1); l1y.style.display="none"; l1y.setAttribute("control\x48\x6flder",item); var o3r=this.l9z(item); if (o3r){O9w[item]=o3r; l1y.appendChild(o3r.O1m()); }}}return I9w; };RadEditorNodeInspector.prototype.o9y= function (){if (!this.IsEnabled)return; if (!this.i9z){ this.o9x=this.i9y(); this.o9x.style.display="\x6eone"; this.ModuleElement.appendChild(this.o9x); this.i9z= true; }var o8=this.Editor.GetSelection().GetParentElement(); if (!o8 || o8.tagName=="BODY" || o8.ownerDocument!=this.Editor.Document){ this.o9x.style.display="non\x65"; return; }var I9z=this.I9x[o8.tagName]; if (!I9z){var l1y=RadEditorNamespace.Utils.o1c(o8,"A"); if (!l1y)l1y=RadEditorNamespace.Utils.o1c(o8,"TD"); if (!l1y)l1y=RadEditorNamespace.Utils.o1c(o8,"TH"); if (l1y)o8=l1y; else { this.o9x.style.display="none"; return; }} this.o9x.style.display=""; var tagName=null; if (this.l9n){try {tagName=this.l9n.tagName; }catch (e){ ; }}if (!this.l9n || (tagName!=o8.tagName)){var l10=this.Editor; var oa0=this.Editor.GetDocument(); var Oa0=this.O9v["\x63lassN\x61\x6de"]; Oa0.la0= false; var l2t=this.O9v["align"]; l2t.ia0(o8.tagName); } this.l9n=o8; this.Ia0(this.l9n); } ; RadEditorNodeInspector.prototype.Ia0= function (o8){var I9z=this.I9x[o8.tagName]; var I9w=this.o9x; var O9w=this.O9v; var oa1=this.IsIE?"\x62lock": "table-\x63\x65ll"; for (var O9x=0; O9x<I9w.rows.length; O9x++){var o1y=I9w.rows[O9x]; for (var i=0; i<o1y.cells.length; i++){var l1y=o1y.cells[i]; var O35=l1y.getAttribute("\x63\157\x6e\x74rolN\x61\x6de"); if (O35){l1y.style.display=this.Oa1(O35,I9z)?oa1: "\x6eone"; }var la1=l1y.getAttribute("\x63ontrolHolde\x72"); if (la1){l1y.style.display=this.Oa1(la1,I9z)?oa1: "\x6eone"; if ("none"==l1y.style.display)continue; var o3r=O9w[la1]; var I6=o8.getAttribute?o8.getAttribute(la1): ""; if (la1=="align"){o3r.SetValue(o8.getAttribute("\x61lign"),o8.getAttribute("\x76Align")); }else if (la1=="\142\x6f\x72derCo\x6c\x6fr" || la1=="width" || la1=="\x68eigh\x74"){o3r.SetValue(o8.style[la1]); }else if ("na\x6d\x65"==la1.toLowerCase()){o3r.SetValue(o8.name); }else if (I6){o3r.SetValue(I6); }else if (!this.IsIE && "classNam\x65"==la1){var I6=o8.getAttribute?o8.getAttribute("class"): ""; if (I6)o3r.SetValue(I6); }else {if (o3r.SetValue)o3r.SetValue(""); }}}}} ; RadEditorNodeInspector.prototype.Fire= function (O10,i10){var title=this.O2l(O10,O10); var o8=this.l9n; if (O10==RadEditorNamespace.i2b || O10==RadEditorNamespace.O2b || O10==RadEditorNamespace.O2c || O10==RadEditorNamespace.l2g){ this.Editor.Fire(O10,this ); return; }else if ("align"==O10){var align=i10.i2x(); var vAlign=i10.I2x(); this.Editor.ExecuteSetAttributeCommand(o8,"\x61li\x67\x6e",align,title); title=this.O2l("vAlign","v\x41\x6cign"); this.Editor.ExecuteSetAttributeCommand(o8,"\x76Align",vAlign,title); }else if ("\x62order\x43\x6flor"==O10){var ia1=i10.GetSelectedValue(); this.Editor.ExecuteSetStyleRuleCommand(this.l9n,"borderCo\x6c\x6fr",ia1,title); }else if ("width"==O10 || "heig\x68\x74"==O10){var ia1=i10.GetSelectedValue(); if (!this.Ia1(ia1)){alert(this.I9v); return; } this.Editor.ExecuteSetStyleRuleCommand(this.l9n,O10,ia1,title); }else {var l5=O10; var oa2=i10.GetSelectedValue(); switch (O10){case RadEditorNamespace.oy:l5="cla\x73\x73Name"; break; case RadEditorNamespace.N:l5="\x62gColor"; break; case "value":break; case "noWrap":if (oa2)oa2="noWrap"; else oa2=""; break; case "border":case "\x63ellSpacing":case "\x63ellPadding":if (!this.Ia1(oa2)){alert(this.I9v); return; }break; case "\x4eAME":if (!this.IsIE)l5="name"; break; } this.Editor.ExecuteSetAttributeCommand(o8,l5,oa2,title); } this.Editor.l9p(RadEditorNamespace.o9m); };RadEditorNodeInspector.prototype.GetSelectedValue= function (){return this.l9n; } ; RadEditorNodeInspector.prototype.Oa2= function (o43){return (this.Editor.O26+"\x42uttons\x2f"+o43); } ; RadEditorNodeInspector.prototype.Oa1= function (value,array){for (var i=0; i<array.length; i++){if (array[i]==value)return true; }return false; } ; RadEditorNodeInspector.prototype.Ia1= function (value){if (null==value)return false; value=RadEditorNamespace.Utils.Ic(value); if (""==value)return true; var l1d=parseInt(value); if (isNaN(l1d)){return false; }return true; } ; RadEditorNodeInspector.prototype.l9z= function (name){var o3r=null; var I6o=null; var l10=this.Editor; var la2=this ; var ia2= function (){return la2; } ; switch (name){case "c\x6cassName":var l9s= {GetController:ia2,Document: this.Document,Name:RadEditorNamespace.oy,T: this.Localization[RadEditorNamespace.oy],Ia2: this.I9u,Width: 80,I3t: 180,o3u: 150,oa3: 2,Oa3: 2,la3: false ,ia3: this.Editor.O26+"I\x6dg/",Ia3:function (name){return l10.oa4(name); }} ; o3r=RadEditorNamespace.Oa4.o(l9s); o3r.Create(); break; case "\x62orderColo\x72":case "bg\x43\x6flor":var la4=this.Localization; var l9s= {GetController:ia2,Document: this.Document,Name: "\142\x6f\x72derC\x6f\x6cor"==name?"borderColor":RadEditorNamespace.N,l3n:la4["AddCustom\x43\x6flor"],ia4:la4["\x41ddCustomHexC\x6f\x6cor"],Ia4:la4["PromptColor"],T: this.O2l(name),Ia2: this.o9v,I3t: 120,o3u: 120,oa3: 1,Oa3: 1,oa5: this.Oa2("\x42\141ck\x43\x6flor.\x67\x69f"),i3g: this.Editor.i3g,Ia3:function (name){return l10.oa4("\x42\x61ckCol\x6f\x72"); }} ; o3r=RadEditorNamespace.Oa5.o(l9s); o3r.Create(); break; case "a\x6c\x69gn":var l9s= {GetController:ia2,Document: this.Document,Name: "alig\x6e",T: this.O2l("\x61lign","\x61\x6cign"),Ia2: this.o9v,O26: this.Editor.O26,oa5: this.Oa2("\056./Img/Ali\x67nMidd\x6c\x65Lef\x74.gif")} ; o3r=RadEditorNamespace.la5.o(l9s); o3r.Create(); break; case RadEditorNamespace.i2b:case RadEditorNamespace.O2b:case RadEditorNamespace.O2c:case RadEditorNamespace.l2g:var l9s= {GetController:ia2,Document: this.Document,Name:name,T: this.Localization[name],oa5: this.Oa2(name+"\x2egif")} ; o3r=RadEditorNamespace.ia5.o(l9s); o3r.Create(); break; case "\x74arget":var l9u= {_blank: this.O2l("_\x62lank","_blank"),_self: this.O2l("_self","\x5fself"),_parent: this.O2l("_par\x65\x6et","_parent"),_top: this.O2l("\x5ftop","\x5f\x74op"),_search: this.O2l("\x5fsearch","_s\x65\x61rch"),_media: this.O2l("\x5f\155\x65\x64ia","_media")} ; var l9s= {O9u:l9u,Controller: this,Document: this.Document,Name:name } ; o3r=new RadEditorNamespace.o9u(l9s); o3r.Create(); break; case "\x6e\x6fWrap":var l9s= {Controller: this,Document: this.Document,Name:name } ; o3r=new RadEditorNamespace.I9t(l9s); o3r.Create(); break; case "href":I6o=200; case "t\x69\164l\x65":case "value":case "\116AME":case "action":case "id":if (!I6o)I6o=110; default:var l9s= {Controller: this,Document: this.Document,Name:name,T: this.Localization[name],Width:I6o } ; o3r=new RadEditorNamespace.O9s(l9s); o3r.Create(); }return o3r; } ; RadEditorNamespace.l9y= function (){var table=this.getElementsByTagName("TAB\x4cE")[0]; var Ia5=i9x.length; var oa6=table.rows.length; for (var I7r=0; I7r<Ia5; I7r++){var Ip=table.insertRow(table.rows.length); var Oa6=i9x[I7r].length*2; for (var i=0; i<Oa6; i++){var O9z=table.rows[0]; var la6=O9z.cells[0]; O9z.removeChild(la6); O9z.parentNode.removeChild(O9z); Ip.appendChild(la6); }} this.style.display="\x69nline"; this.style.height=RadEditorNamespace.i9u; };RadEditorNamespace.O9y= function (){var table=this.getElementsByTagName("\x54ABLE")[0]; var O9x=table.rows.length; for (var i=0; i<O9x; i++){var O9z=table.rows[0]; var ia6=O9z.cells.length; for (var j=0; j<ia6; j++){var oo=O9z.cells[0]; var Ip=table.insertRow(table.rows.length); O9z.removeChild(oo); Ip.appendChild(oo); }O9z.parentNode.removeChild(O9z); } this.style.display="block"; };;RadEditorStatistics.prototype=new RadEditorModuleBase(); RadEditorStatistics.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorStatistics(moduleArgs){var I9k=moduleArgs.Document.createElement("D\x49\x56"); moduleArgs.ModuleElement=I9k.cloneNode( true); moduleArgs.Ia6= false; this.base(moduleArgs); this.oa7= false; this.Oa7=this.O2l("\x53tatisticsWo\x72\x64s","\x57\157\x72\x64s:"); this.la7=this.O2l("\x53tatis\x74\x69csCha\x72\x61ct\x65rs","\x43haracte\x72\x73:"); } ; RadEditorStatistics.prototype.OnCreate= function (){var o6j=this ; this.AttachEventHandler(RadEditorNamespace.o9m, function (){o6j.ia7(); } ); if (this.Editor.Document.body)this.AttachEventHandler("on\x62\x6cur", function (){o6j.ia7(); } ); var i1a=this.IsEnabled; this.IsEnabled= true; this.ia7(); this.IsEnabled=i1a; } ; RadEditorStatistics.prototype.ia7= function (){if (!this.IsEnabled || !this.Editor.Document.body)return; var content=this.Editor.GetText(); var Ia7=0; var oa8=0; if (content){Oa8=/[\x21\x2e\x3f\x3b\x2c\x3a\x26\x5f\x2d\x96\x7b\x7d\x5b\x5d\x28\x29\x7e\x23\x27\x22]/g; content=content.replace(Oa8,""); la8=/(^\s+)|(\s+$)/g; content=content.replace(la8,""); if (content){ia8=/\s+/; var array=content.split(ia8); Ia7=array.length; oa8=content.length; }} this.ModuleElement.innerHTML="<\x73pan styl\x65\x3d\047line-he\x69ght:22\x70\x78\047\x3e"+this.Oa7+" "+Ia7+"\x20"+this.la7+"\x20"+oa8+"&n\x62\x73p;</sp\x61\x6e>"; } ;;RadEditorXhtmlValidator.prototype=new RadEditorModuleBase(); RadEditorXhtmlValidator.prototype.base=RadEditorModuleBase.prototype.constructor; function RadEditorXhtmlValidator(moduleArgs){var Ia8=moduleArgs.Document.createElement("\x64\x69\x76"); Ia8.style.width="100%"; moduleArgs.ModuleElement=Ia8.cloneNode( true); this.base(moduleArgs); } ; RadEditorXhtmlValidator.prototype.OnCreate= function (){ this.oa9(); this.Oa9(); this.ModuleElement.appendChild(this.la9); } ; RadEditorModuleBase.prototype.l9l= function (){if (this.ia9){ this.ia9.onclick=null; this.ia9=null; }if (this.Ia9){ this.Ia9.onclick=null; this.Ia9=null; } this.oaa=null; this.Oaa=null; this.laa=null; this.iaa=null; RadEditorNamespace.Utils.o1n(this.la9,"load",this.Iaa); this.la9=null; } ; RadEditorXhtmlValidator.prototype.oab= function (){Oab="<div>"+this.Editor.GetHtml( true)+"\x3c/div>"; this.oaa.value=Oab; this.lab( true); if (this.Ia9 && !this.Ia9.checked)this.Ia9.checked= true; if (this.laa && this.laa.selectedIndex>-1){ this.Oaa.value="\x3c"+this.laa.options[this.laa.selectedIndex].value+"\x3e"; } this.iaa.submit(); } ; RadEditorXhtmlValidator.prototype.lab= function (iab){var iframe=this.la9; if (iab){iframe.style.width="\x399%"; iframe.style.height=(this.Editor.GetHeight()/2)+"\x70\x78"; iframe.style.border="\x31px ri\x64\x67e #\x61\x61aaaa"; }else {iframe.style.width="\x30px"; iframe.style.height="\x30px"; iframe.style.border="0\x70\x78 ridge \x23\141\x61\x61aa\x61"; }} ; RadEditorXhtmlValidator.prototype.Oa9= function (){var iframe=document.createElement("\x69frame"); this.la9=iframe; iframe.frameBorder="0"; iframe.src=this.Editor.O5f+"\x45ditor/Xh\x74\x6dl/X\x68\x74ml\x56\x61lid\x61\x74or.\x61\163\x70x"; iframe.style.margin="1px"; this.lab( false); var Iab=this ; var oac= function (){var Oac=iframe.contentWindow.document; var style=Oac.getElementsByTagName("sty\x6ce")[0]; if (style){var lac="http://va\x6c\x69dat\x6f\x72.w3\x2e\157\x72\x67/ba\x73\x65.c\x73s"; var iac=Oac.getElementsByTagName("\x68ead")[0]; var I21=Oac.createElement("\x6cink"); I21.setAttribute("rel","stylesheet",0); I21.setAttribute("type","te\x78\x74/css",0); I21.setAttribute("\x68ref",lac,0); iac.appendChild(I21); }Iab.oaa=iframe.contentWindow.document.getElementById("EditorCont\x65\x6et"); Iab.Oaa=iframe.contentWindow.document.getElementById("Edi\x74\x6frDoct\x79\x70e"); Iab.iaa=iframe.contentWindow.document.forms["\122a\x64\x45ditorX\x68\x74mlF\x6f\162m"]; } ; this.Iaa=oac; RadEditorNamespace.Utils.I1o(iframe,"load",this.Iaa); return iframe; } ; RadEditorXhtmlValidator.prototype.oa9= function (){var Iac=document.createElement("\x69n\x70\x75t"); Iac.type="butt\x6f\x6e"; Iac.className="\x52adEXhtmlBut\x74\x6fn"; Iac.style.width="100px"; var Iab=this ; Iac.onclick= function (){Iab.oab(); Iab.oad= true; };Iac.value=this.O2l("Valida\x74\x65XHTML","Val\x69\x64ate XH\x54\x4dL"); var I9s=document.createElement("\x49NPUT"); I9s.setAttribute("t\x79\x70e","checkbox"); I9s.style.marginBottom="\x32px"; this.oad= false; I9s.onclick= function (){Iab.oad=!Iab.oad; this.checked=Iab.oad; Iab.lab(Iab.oad); } ; this.ModuleElement.appendChild(I9s); this.Ia9=I9s; var i8o=document.createElement("span"); i8o.style.height="\061\x36px"; i8o.onclick= function (){I9s.click(); } ; i8o.innerHTML=this.O2l("\x45xpandVali\x64\x61tor","Expand/\x43\x6fllaps\x65\x20Vali\x64ator")+"\x20 \x7c\x20&nbs\x70\x3b"; this.ModuleElement.appendChild(i8o); i8o=i8o.cloneNode( true); i8o.innerHTML=this.O2l("D\x6fctype","Doctype")+":"; this.ModuleElement.appendChild(i8o); var Oad=document.createElement("select"); Oad.className="RadED\x72\x6fpDown"; Oad.style.width="\x3140px"; var lad= { "X\x48\x54ML 1.0\x20\x53tric\x74": "\x21DOCTYP\x45\x20html \x50\x55BL\x49\x43 \042\055\x2f\x2fW3\x43//D\x54D XHTM\x4c\040\x31\056\x30\040\x53\164r\x69ct//\x45\116\x22 \042http\x3a//ww\x77.w3.\x6frg/\x54R/xh\x74ml1\x2fDTD/\x78htm\x6c1-s\x74ric\x74.d\x74d\042","\x58\x48TML 1\x2e\x30 Tr\x61\x6esi\x74\x69on\x61\x6c": "\x21\x44OCTYPE\x20\x68tml \x50\x55BL\x49\x43 \042\x2d//W\x33\103/\x2f\104T\x44 XHTML\x201.0 T\x72\141n\x73ition\x61l//EN\x22 \042\x68tt\x70://w\x77w.w3\x2eorg/\x54R/x\x68tml1\x2fDTD\x2fxht\x6dl1-t\x72ans\x69ti\x6fnal\x2edtd\x22","XHTM\x4c\x201.1": "\x21DOCTYPE h\x74\x6dl PU\x42\x4cIC\x20\x22-//\x57\x33C//\x44\124\x44\040\x58\x48TM\x4c 1.1/\x2f\105N\x22 \042\x68ttp:\x2f/www\x2ew3.o\x72g/TR\x2fxhtm\x6c11/D\x54D/x\x68tml1\x31.dt\x64\042" } ; for (var item in lad){Oad.options[Oad.options.length]=new Option(item,lad[item]); }Oad.style.display="\x6eone"; if (this.Editor.IsIE && "\x63\157m\x70\x6cete"!=document.readyState){RadEditorNamespace.Utils.I1o(window,"lo\x61\x64", function (){Oad.style.display=""; } ); }else Oad.style.display=""; this.ModuleElement.appendChild(Oad); this.ModuleElement.appendChild(Iac); this.ia9=Iac; this.laa=Oad; } ;;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -