]> code.citadel.org Git - citadel.git/blobdiff - webcit/tiny_mce/plugins/preview/editor_plugin_src.js
more font size tweaks.
[citadel.git] / webcit / tiny_mce / plugins / preview / editor_plugin_src.js
index b2d27f7c7800e0244b98c3b1a84aa4cf9650063b..80f00f0d9f67e89b7315ad1b9e445dd75bab4e48 100644 (file)
@@ -1,8 +1,11 @@
 /**
- * $Id: editor_plugin_src.js 895 2008-07-10 14:34:23Z 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() {
@@ -24,7 +27,7 @@
                                        height : parseInt(ed.getParam("plugin_preview_height", "600")),
                                        resizable : "yes",
                                        scrollbars : "yes",
-                                       popup_css : css.join(','),
+                                       popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"),
                                        inline : ed.getParam("plugin_preview_inline", 1)
                                }, {
                                        base : ed.documentBaseURI.getURI()