includes/clientside/tinymce/plugins/fullpage/editor_plugin_src.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
child 459 31c23016ab62
equal deleted inserted replaced
394:fbfdcea634a7 395:fa4c5ecb7c9a
     1 /**
     1 /**
     2  * $Id: editor_plugin_src.js 373 2007-11-12 17:57:47Z spocke $
     2  * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
     3  *
     3  *
     4  * @author Moxiecode
     4  * @author Moxiecode
     5  * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
     5  * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
     6  */
     6  */
     7 
     7 
     8 (function() {
     8 (function() {
     9 	tinymce.create('tinymce.plugins.FullPagePlugin', {
     9 	tinymce.create('tinymce.plugins.FullPagePlugin', {
    10 		init : function(ed, url) {
    10 		init : function(ed, url) {
    14 
    14 
    15 			// Register commands
    15 			// Register commands
    16 			ed.addCommand('mceFullPageProperties', function() {
    16 			ed.addCommand('mceFullPageProperties', function() {
    17 				ed.windowManager.open({
    17 				ed.windowManager.open({
    18 					file : url + '/fullpage.htm',
    18 					file : url + '/fullpage.htm',
    19 					width : 430 + ed.getLang('fullpage.delta_width', 0),
    19 					width : 430 + parseInt(ed.getLang('fullpage.delta_width', 0)),
    20 					height : 495 + ed.getLang('fullpage.delta_height', 0),
    20 					height : 495 + parseInt(ed.getLang('fullpage.delta_height', 0)),
    21 					inline : 1
    21 					inline : 1
    22 				}, {
    22 				}, {
    23 					plugin_url : url,
    23 					plugin_url : url,
    24 					head_html : t.head
    24 					head_html : t.head
    25 				});
    25 				});