includes/clientside/tinymce/plugins/preview/editor_plugin_src.js
changeset 1193 e3b94bd055dc
parent 778 57ce13805b6f
equal deleted inserted replaced
1192:5882f0eebb34 1193:e3b94bd055dc
     1 /**
     1 /**
     2  * $Id: editor_plugin_src.js 895 2008-07-10 14:34:23Z spocke $
     2  * $Id: editor_plugin_src.js 1056 2009-03-13 12:47:03Z spocke $
     3  *
     3  *
     4  * @author Moxiecode
     4  * @author Moxiecode
     5  * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
     5  * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
     6  */
     6  */
     7 
     7 
    22 					file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"),
    22 					file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"),
    23 					width : parseInt(ed.getParam("plugin_preview_width", "550")),
    23 					width : parseInt(ed.getParam("plugin_preview_width", "550")),
    24 					height : parseInt(ed.getParam("plugin_preview_height", "600")),
    24 					height : parseInt(ed.getParam("plugin_preview_height", "600")),
    25 					resizable : "yes",
    25 					resizable : "yes",
    26 					scrollbars : "yes",
    26 					scrollbars : "yes",
    27 					popup_css : css.join(','),
    27 					popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"),
    28 					inline : ed.getParam("plugin_preview_inline", 1)
    28 					inline : ed.getParam("plugin_preview_inline", 1)
    29 				}, {
    29 				}, {
    30 					base : ed.documentBaseURI.getURI()
    30 					base : ed.documentBaseURI.getURI()
    31 				});
    31 				});
    32 			});
    32 			});