comparison static/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js @ 442:6c182ceb7147

Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 May 2011 00:43:49 +0000
parents 88b2b9cb8c1f
children
comparison
equal deleted inserted replaced
441:33d0c55e57a9 442:6c182ceb7147
10 10
11 (function() { 11 (function() {
12 tinymce.create('tinymce.plugins.SearchReplacePlugin', { 12 tinymce.create('tinymce.plugins.SearchReplacePlugin', {
13 init : function(ed, url) { 13 init : function(ed, url) {
14 function open(m) { 14 function open(m) {
15 // Keep IE from writing out the f/r character to the editor
16 // instance while initializing a new dialog. See: #3131190
17 window.focus();
18
15 ed.windowManager.open({ 19 ed.windowManager.open({
16 file : url + '/searchreplace.htm', 20 file : url + '/searchreplace.htm',
17 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), 21 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
18 height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), 22 height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),
19 inline : 1, 23 inline : 1,