⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 find-replace-compressed.js

📁 Typo3, 开源里边最强大的
💻 JS
字号:
FindReplace=function(editor){this.editor=editor;var cfg=editor.config;var actionHandlerFunctRef=FindReplace.actionHandler(this);cfg.registerButton("FindReplace",FindReplace_langArray["Find and Replace"],editor.imgURL("ed_find.gif","FindReplace"),false,actionHandlerFunctRef);this.popupWidth=455;this.popupHeight=235;};FindReplace.I18N=FindReplace_langArray;FindReplace.actionHandler=function(instance){return(function(editor){instance.buttonPress(editor);});};FindReplace.prototype.buttonPress=function(editor){FindReplace.editor=editor;var sel=editor.getSelectedHTML(),param=null;if(/\w/.test(sel)){sel=sel.replace(/<[^>]*>/g,"");sel=sel.replace(/&nbsp;/g,"");};if(/\w/.test(sel))param={fr_pattern:sel};editor._popupDialog("plugin://FindReplace/find_replace",null,param,this.popupWidth,this.popupHeight);};FindReplace._pluginInfo={name:"FindReplace",version:"1.1",developer:"Cau Guanabara & Stanislas Rolland",developer_url:"mailto:caugb@ibest.com.br",c_owner:"Cau Guanabara & Stanislas Rolland",sponsor:"Independent production & Fructifor Inc.",sponsor_url:"http://www.netflash.com.br/gb/HA3-rc1/examples/find-replace.html",license:"GPL"};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -