var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /** * ueditor瀹屾暣閰嶇疆椤? * 鍙互鍦ㄨ繖閲岄厤缃暣涓紪杈戝櫒鐨勭壒鎬? */ /**************************鎻愮ず******************************** * 鎵€鏈夎娉ㄩ噴鐨勯厤缃」鍧囦负UEditor榛樿鍊笺€? * 淇敼榛樿閰嶇疆璇烽鍏堢‘淇濆凡缁忓畬鍏ㄦ槑纭鍙傛暟鐨勭湡瀹炵敤閫斻€? * 涓昏鏈変袱绉嶄慨鏀规柟妗堬紝涓€绉嶆槸鍙栨秷姝ゅ娉ㄩ噴锛岀劧鍚庝慨鏀规垚瀵瑰簲鍙傛暟锛涘彟涓€绉嶆槸鍦ㄥ疄渚嬪寲缂栬緫鍣ㄦ椂浼犲叆瀵瑰簲鍙傛暟銆? * 褰撳崌绾х紪杈戝櫒鏃讹紝鍙洿鎺ヤ娇鐢ㄦ棫鐗堥厤缃枃浠舵浛鎹㈡柊鐗堥厤缃枃浠?涓嶇敤鎷呭績鏃х増閰嶇疆鏂囦欢涓洜缂哄皯鏂板姛鑳芥墍闇€鐨勫弬鏁拌€屽鑷磋剼鏈姤閿欍€? **************************鎻愮ず********************************/ (function () { /** * 缂栬緫鍣ㄨ祫婧愭枃浠舵牴璺緞銆傚畠鎵€琛ㄧず鐨勫惈涔夋槸锛氫互缂栬緫鍣ㄥ疄渚嬪寲椤甸潰涓哄綋鍓嶈矾寰勶紝鎸囧悜缂栬緫鍣ㄨ祫婧愭枃浠讹紙鍗砫ialog绛夋枃浠跺す锛夌殑璺緞銆? * 閴翠簬寰堝鍚屽鍦ㄤ娇鐢ㄧ紪杈戝櫒鐨勬椂鍊欏嚭鐜扮殑绉嶇璺緞闂锛屾澶勫己鐑堝缓璁ぇ瀹朵娇鐢?鐩稿浜庣綉绔欐牴鐩綍鐨勭浉瀵硅矾寰?杩涜閰嶇疆銆? * "鐩稿浜庣綉绔欐牴鐩綍鐨勭浉瀵硅矾寰?涔熷氨鏄互鏂滄潬寮€澶寸殑褰㈠"/myProject/ueditor/"杩欐牱鐨勮矾寰勩€? * 濡傛灉绔欑偣涓湁澶氫釜涓嶅湪鍚屼竴灞傜骇鐨勯〉闈㈤渶瑕佸疄渚嬪寲缂栬緫鍣紝涓斿紩鐢ㄤ簡鍚屼竴UEditor鐨勬椂鍊欙紝姝ゅ鐨刄RL鍙兘涓嶉€傜敤浜庢瘡涓〉闈㈢殑缂栬緫鍣ㄣ€? * 鍥犳锛孶Editor鎻愪緵浜嗛拡瀵逛笉鍚岄〉闈㈢殑缂栬緫鍣ㄥ彲鍗曠嫭閰嶇疆鐨勬牴璺緞锛屽叿浣撴潵璇达紝鍦ㄩ渶瑕佸疄渚嬪寲缂栬緫鍣ㄧ殑椤甸潰鏈€椤堕儴鍐欎笂濡備笅浠g爜鍗冲彲銆傚綋鐒讹紝闇€瑕佷护姝ゅ鐨刄RL绛変簬瀵瑰簲鐨勯厤缃€? * window.UEDITOR_HOME_URL = "/xxxx/xxxx/"; */ window.UEDITOR_HOME_URL = "/ueditor/"; var URL = window.UEDITOR_HOME_URL || (function(){ function PathStack() { this.documentURL = self.document.URL || self.location.href; this.separator = '/'; this.separatorPattern = /\\|\//g; this.currentDir = './'; this.currentDirPattern = /^[.]\/]/; this.path = this.documentURL; this.stack = []; this.push( this.documentURL ); } PathStack.isParentPath = function( path ){ return path === '..'; }; PathStack.hasProtocol = function( path ){ return !!PathStack.getProtocol( path ); }; PathStack.getProtocol = function( path ){ var protocol = /^[^:]*:\/*/.exec( path ); return protocol ? protocol[0] : null; }; PathStack.prototype = { push: function( path ){ this.path = path; update.call( this ); parse.call( this ); return this; }, getPath: function(){ return this + ""; }, toString: function(){ return this.protocol + ( this.stack.concat( [''] ) ).join( this.separator ); } }; function update() { var protocol = PathStack.getProtocol( this.path || '' ); if( protocol ) { //鏍瑰崗璁? this.protocol = protocol; //local this.localSeparator = /\\|\//.exec( this.path.replace( protocol, '' ) )[0]; this.stack = []; } else { protocol = /\\|\//.exec( this.path ); protocol && (this.localSeparator = protocol[0]); } } function parse(){ var parsedStack = this.path.replace( this.currentDirPattern, '' ); if( PathStack.hasProtocol( this.path ) ) { parsedStack = parsedStack.replace( this.protocol , ''); } parsedStack = parsedStack.split( this.localSeparator ); parsedStack.length = parsedStack.length - 1; for(var i= 0,tempPath,l=parsedStack.length,root = this.stack;i浣犺緭鍏ョ殑瀛楃涓暟宸茬粡瓒呭嚭鏈€澶у厑璁稿€硷紝鏈嶅姟鍣ㄥ彲鑳戒細鎷掔粷淇濆瓨锛?/span> //highlightcode // 浠g爜楂樹寒鏃堕渶瑕佸姞杞界殑绗笁鏂规彃浠剁殑璺緞 // ,highlightJsUrl:URL + "third-party/SyntaxHighlighter/shCore.js" // ,highlightCssUrl:URL + "third-party/SyntaxHighlighter/shCoreDefault.css" //tab //鐐瑰嚮tab閿椂绉诲姩鐨勮窛绂?tabSize鍊嶆暟锛宼abNode浠€涔堝瓧绗﹀仛涓哄崟浣? //,tabSize:4 //,tabNode:' ' //elementPathEnabled //鏄惁鍚敤鍏冪礌璺緞锛岄粯璁ゆ槸鏄剧ず //,elementPathEnabled : true //removeFormat //娓呴櫎鏍煎紡鏃跺彲浠ュ垹闄ょ殑鏍囩鍜屽睘鎬? //removeForamtTags鏍囩 //,removeFormatTags:'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' //removeFormatAttributes灞炴€? //,removeFormatAttributes:'class,style,lang,width,height,align,hspace,valign' //undo //鍙互鏈€澶氬洖閫€鐨勬鏁?榛樿20 //,maxUndoCount:20 //褰撹緭鍏ョ殑瀛楃鏁拌秴杩囪鍊兼椂锛屼繚瀛樹竴娆$幇鍦? //,maxInputCount:1 //autoHeightEnabled // 鏄惁鑷姩闀块珮,榛樿true //,autoHeightEnabled:true //scaleEnabled //鏄惁鍙互鎷変几闀块珮,榛樿true(褰撳紑鍚椂锛岃嚜鍔ㄩ暱楂樺け鏁? //,scaleEnabled:false //,minFrameWidth:800 //缂栬緫鍣ㄦ嫋鍔ㄦ椂鏈€灏忓搴?榛樿800 //,minFrameHeight:220 //缂栬緫鍣ㄦ嫋鍔ㄦ椂鏈€灏忛珮搴?榛樿220 //autoFloatEnabled //鏄惁淇濇寔toolbar鐨勪綅缃笉鍔?榛樿true //,autoFloatEnabled:true //娴姩鏃跺伐鍏锋爮璺濈娴忚鍣ㄩ《閮ㄧ殑楂樺害锛岀敤浜庢煇浜涘叿鏈夊浐瀹氬ご閮ㄧ殑椤甸潰 //,topOffset:30 //缂栬緫鍣ㄥ簳閮ㄨ窛绂诲伐鍏锋爮楂樺害(濡傛灉鍙傛暟澶т簬绛変簬缂栬緫鍣ㄩ珮搴︼紝鍒欒缃棤鏁? //,toolbarTopOffset:400 //indentValue //棣栬缂╄繘璺濈,榛樿鏄?em //,indentValue:'2em' //pageBreakTag //鍒嗛〉鏍囪瘑绗?榛樿鏄痏ueditor_page_break_tag_ //,pageBreakTag:'_ueditor_page_break_tag_' //sourceEditor //婧愮爜鐨勬煡鐪嬫柟寮?codemirror 鏄唬鐮侀珮浜紝textarea鏄枃鏈,榛樿鏄痗odemirror //娉ㄦ剰榛樿codemirror鍙兘鍦╥e8+鍜岄潪ie涓娇鐢? //,sourceEditor:"codemirror" //濡傛灉sourceEditor鏄痗odemirror锛岃繕鐢ㄩ厤缃竴涓嬩袱涓弬鏁? //codeMirrorJsUrl js鍔犺浇鐨勮矾寰勶紝榛樿鏄?URL + "third-party/codemirror/codemirror.js" //,codeMirrorJsUrl:URL + "third-party/codemirror/codemirror.js" //codeMirrorCssUrl css鍔犺浇鐨勮矾寰勶紝榛樿鏄?URL + "third-party/codemirror/codemirror.css" //,codeMirrorCssUrl:URL + "third-party/codemirror/codemirror.css" //缂栬緫鍣ㄥ垵濮嬪寲瀹屾垚鍚庢槸鍚﹁繘鍏ユ簮鐮佹ā寮忥紝榛樿涓哄惁銆? //,sourceEditorFirst:false //autotypeset // //鑷姩鎺掔増鍙傛暟 // ,autotypeset:{ // mergeEmptyline : true, //鍚堝苟绌鸿 // removeClass : true, //鍘绘帀鍐椾綑鐨刢lass // removeEmptyline : false, //鍘绘帀绌鸿 // textAlign : "left" , //娈佃惤鐨勬帓鐗堟柟寮忥紝鍙互鏄?left,right,center,justify 鍘绘帀杩欎釜灞炴€ц〃绀轰笉鎵ц鎺掔増 // imageBlockLine : 'center', //鍥剧墖鐨勬诞鍔ㄦ柟寮忥紝鐙崰涓€琛屽墽涓?宸﹀彸娴姩锛岄粯璁? center,left,right,none 鍘绘帀杩欎釜灞炴€ц〃绀轰笉鎵ц鎺掔増 // pasteFilter : false, //鏍规嵁瑙勫垯杩囨护娌′簨绮樿创杩涙潵鐨勫唴瀹? // clearFontSize : false, //鍘绘帀鎵€鏈夌殑鍐呭祵瀛楀彿锛屼娇鐢ㄧ紪杈戝櫒榛樿鐨勫瓧鍙? // clearFontFamily : false, //鍘绘帀鎵€鏈夌殑鍐呭祵瀛椾綋锛屼娇鐢ㄧ紪杈戝櫒榛樿鐨勫瓧浣? // removeEmptyNode : false , // 鍘绘帀绌鸿妭鐐? // //鍙互鍘绘帀鐨勬爣绛? // removeTagNames : {鏍囩鍚嶅瓧:1}, // indent : false, // 琛岄缂╄繘 // indentValue : '2em' //琛岄缂╄繘鐨勫ぇ灏? // }, //濉啓杩囨护瑙勫垯 //filterRules : {} }; })(); } /* FILE ARCHIVED ON 01:03:09 Dec 03, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:03:35 Jul 29, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.724 exclusion.robots: 0.036 exclusion.robots.policy: 0.023 esindex: 0.012 cdx.remote: 168.616 LoadShardBlock: 450.174 (3) PetaboxLoader3.datanode: 91.316 (5) PetaboxLoader3.resolve: 775.963 (4) load_resource: 468.695 (2) */