Mercurial > public > sg101
comparison media/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js @ 183:149c3567fec1
Updated to TinyMCE version 3.3.2. This is for #57.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Mar 2010 21:47:48 +0000 |
parents | a5b4c5ce0658 |
children |
comparison
equal
deleted
inserted
replaced
182:5c889b587416 | 183:149c3567fec1 |
---|---|
1 /** | 1 /** |
2 * $Id: editor_plugin_src.js 686 2008-03-09 18:13:49Z spocke $ | 2 * editor_plugin_src.js |
3 * | 3 * |
4 * @author Moxiecode | 4 * Copyright 2009, Moxiecode Systems AB |
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. | 5 * Released under LGPL License. |
6 * | |
7 * License: http://tinymce.moxiecode.com/license | |
8 * Contributing: http://tinymce.moxiecode.com/contributing | |
6 */ | 9 */ |
7 | 10 |
8 (function() { | 11 (function() { |
9 tinymce.create('tinymce.plugins.SearchReplacePlugin', { | 12 tinymce.create('tinymce.plugins.SearchReplacePlugin', { |
10 init : function(ed, url) { | 13 init : function(ed, url) { |
11 function open(m) { | 14 function open(m) { |
12 ed.windowManager.open({ | 15 ed.windowManager.open({ |
13 file : url + '/searchreplace.htm', | 16 file : url + '/searchreplace.htm', |
14 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), | 17 width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), |
15 height : 160 + parseInt(ed.getLang('searchreplace.delta_height', 0)), | 18 height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), |
16 inline : 1, | 19 inline : 1, |
17 auto_focus : 0 | 20 auto_focus : 0 |
18 }, { | 21 }, { |
19 mode : m, | 22 mode : m, |
20 search_string : ed.selection.getContent({format : 'text'}), | 23 search_string : ed.selection.getContent({format : 'text'}), |