diff options
| author | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
| commit | a6292dd0fecd4482fe863ed849d126b5281b1a8a (patch) | |
| tree | 7c4c32e1a3448c5d1995a236ed01c731018da13d /public/javascripts/tiny_mce/plugins/searchreplace | |
| parent | 83fe1b1abd7d7bb85679be3f1341e5c88db0ae83 (diff) | |
huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great!
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/searchreplace')
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js | 2 | ||||
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm | 1 |
6 files changed, 1 insertions, 2 deletions
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css b/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css index ecdf58c..ecdf58c 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +++ b/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css | |||
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js b/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js index 7fd913b..c3f8358 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +++ b/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js | |||
| @@ -1 +1 @@ | |||
| (function(){tinymce.create('tinymce.plugins.SearchReplacePlugin',{init:function(ed,url){function open(m){ed.windowManager.open({file:url+'/searchreplace.htm',width:420+parseInt(ed.getLang('searchreplace.delta_width',0)),height:160+parseInt(ed.getLang('searchreplace.delta_height',0)),inline:1,auto_focus:0},{mode:m,search_string:ed.selection.getContent({format:'text'}),plugin_url:url});};ed.addCommand('mceSearch',function(){open('search');});ed.addCommand('mceReplace',function(){open('replace');});ed.addButton('search',{title:'searchreplace.search_desc',cmd:'mceSearch'});ed.addButton('replace',{title:'searchreplace.replace_desc',cmd:'mceReplace'});ed.addShortcut('ctrl+f','searchreplace.search_desc','mceSearch');},getInfo:function(){return{longname:'Search/Replace',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('searchreplace',tinymce.plugins.SearchReplacePlugin);})(); \ No newline at end of file | (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:160+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); \ No newline at end of file | ||
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js index 59edc3b..59edc3b 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +++ b/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js | |||
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js b/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js index a8585cc..a8585cc 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +++ b/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js | |||
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js index 370959a..370959a 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +++ b/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js | |||
diff --git a/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm b/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm index 9c95a6a..0b42486 100755..100644 --- a/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +++ b/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | <script type="text/javascript" src="../../utils/form_utils.js"></script> | 7 | <script type="text/javascript" src="../../utils/form_utils.js"></script> |
| 8 | <script type="text/javascript" src="js/searchreplace.js"></script> | 8 | <script type="text/javascript" src="js/searchreplace.js"></script> |
| 9 | <link rel="stylesheet" type="text/css" href="css/searchreplace.css" /> | 9 | <link rel="stylesheet" type="text/css" href="css/searchreplace.css" /> |
| 10 | <base target="_self" /> | ||
| 11 | </head> | 10 | </head> |
| 12 | <body style="display:none;"> | 11 | <body style="display:none;"> |
| 13 | <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#"> | 12 | <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#"> |
