/********************************************************************
 * openWYSIWYG settings file Copyright (c) 2006 openWebWare.com
 * Contact us at devs@openwebware.com
 * This copyright notice MUST stay intact for use.
 *
 * $Id: wysiwyg-settings.js,v 1.4 2007/01/22 23:05:57 xhaggi Exp $
 ********************************************************************/

/*
 * Full featured setup used the openImageLibrary addon
 */
 
var full = new WYSIWYG.Settings();
//full.ImagesDir = "images/";
//full.PopupsDir = "popups/";
//full.CSSFile = "styles/wysiwyg.css";
full.Width = "85%"; 
full.Height = "250px";
// customize toolbar buttons
//full.addToolbarElement("font", 3, 1); 
//full.addToolbarElement("fontsize", 3, 2);
//full.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
full.ImagePopupFile = "wysiwyg/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.Width = "350px";
small.Height = "100px";
small.DefaultStyle = "font-family: Arial; font-size: 12px; background-color: #AA99AA";
small.Toolbar[0] = new Array("font", "fontsize", "bold", "italic", "underline"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;

var mysettings = new WYSIWYG.Settings(); 

//mysettings.ImagesDir = "<path>"; The path where your images are located (default: 'images/') 
//mysettings.PopupsDir = "<path>";  The path where your popup htmls are located (default: 'popups/') 
mysettings.CSSFile = "../../css/pg.css";  //The path + file where your stylesheet file is located (default: 'styles/wysiwyg.css') 
mysettings.Width = "600";  //The width of the editor window (valid units are px and %) (default: '500px') 
mysettings.Height = "265";  //The height of the editor window (valid units are px and %) (default: '200px') 
mysettings.DefaultStyle = "font-family: Verdana; font-size: 10px";  //The default stylesheet of the editor window (default: 'font-family: Verdana; font-size: 10px; background-color: #FFFFFF') 
//mysettings.DisabledStyle = "<stylesheet>";  The style which appears if the editor is disabled (default: 'font-family: Arial; font-size: 12px; background-color: #EEEEEE') 
//mysettings.ReplaceLineBreaks = <true/false>;  Replace line breaks (\n) with html line breaks <br> (used for none html content) (default: false) 
mysettings.PreviewWidth = "760";  //The width of the preview popup (default: 500) 
mysettings.PreviewHeight = "310";  //The height of the preview popup (default: 400) 
mysettings.RemoveFormatConfMessage = "Radera MS Word formatering";  //Text which appears if the MS word clean up button is pressed (default: 'Clean HTML inserted by MS Word ?') 
mysettings.NoValidBrowserMessage = "Din browser stöder inte openWYSIWYG!";  //Text which appears if the browser is not supported by openWYSIWYG (default: 'openWYSIWYG does not support your browser.') 
//mysettings.AnchorPathToStrip = "<url>";  The url which is striped off on anchors (only IE, recommended: auto) (default: 'auto') 
//mysettings.ImagePathToStrip = "<url>";  The url which is striped off on images (only IE, recommended: auto) (default: 'auto') 
//mysettings.ContextMenu = <true/false>; Enable / disable the custom context menu (default: true) 
//mysettings.StatusBarEnabled = <true/false>; Enable / disable the status bar (default: true) 
//mysettings.InvertIELineBreaks = <true/false>; Enable / disable invert of line break capability in IE (default: false) 
mysettings.ImagePopupFile = "wysiwyg/addons/imagelibrary/insert_image.php"; //If you use another implementation like an image library written in PHP, then you can use this setting to customize the location of the implementation file. No need to edit the main javascript file. (It's used for future upcoming image library addons) 
mysettings.ImagePopupWidth = 600;//Width of the image popup window. (Default: 400) 
mysettings.ImagePopupHeight = 245;//Height of the image popup window. (Default: 210)
//mysettings.Fonts[<element index>] = "<element>";
//mysettings.addToolbarElement("<element>", <toolbar>, <position>); 

//mysettings.Toolbar[<toolbar index>][<element index>] = "<element>";
//mysettings.removeToolbarElement("font");
mysettings.removeToolbarElement("fontsize");
//mysettings.removeToolbarElement("headings");
mysettings.removeToolbarElement("save");
mysettings.removeToolbarElement("maximize");
mysettings.removeToolbarElement("help");
mysettings.removeToolbarElement("superscript");
mysettings.removeToolbarElement("subscript");
