| | |
| | | /**
|
| | | * $Id: editor_plugin_src.js 686 2008-03-09 18:13:49Z spocke $
|
| | | * editor_plugin_src.js
|
| | | *
|
| | | * @author Moxiecode
|
| | | * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
|
| | | * Copyright 2009, Moxiecode Systems AB
|
| | | * Released under LGPL License.
|
| | | *
|
| | | * License: http://tinymce.moxiecode.com/license
|
| | | * Contributing: http://tinymce.moxiecode.com/contributing
|
| | | */
|
| | |
|
| | | (function() {
|
| | | tinymce.create('tinymce.plugins.SearchReplacePlugin', {
|
| | | init : function(ed, url) {
|
| | | function open(m) {
|
| | | // Keep IE from writing out the f/r character to the editor
|
| | | // instance while initializing a new dialog. See: #3131190
|
| | | window.focus();
|
| | |
|
| | | 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)),
|
| | | height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),
|
| | | inline : 1,
|
| | | auto_focus : 0
|
| | | }, {
|