/********************************************************************
 * 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 = "../editor/images/";
full.PopupsDir = "../editor/popups/";
full.CSSFile = "../editor/styles/wysiwyg.css";
full.Width = "780px"; 
full.Height = "600px";
full.PreviewWidth = "780";
full.PreviewHeight = "600";  
full.DefaultStyle = "font-family: Arial; font-size: 12px; color: #333333";
// customize toolbar buttons
full.addToolbarElement("font", 3, 1); 
full.addToolbarElement("fontsize", 3, 2);
full.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
full.ImagePopupFile = "../editor/addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 270;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.ImagesDir = "../editor/images/";
small.PopupsDir = "../editor/popups/";
small.CSSFile = "../editor/styles/wysiwyg.css";
small.Width = "183px";
small.Height = "80px";
small.DefaultStyle = "font-family: Arial; font-size: 11px; color: #333333";
small.Toolbar[0] = new Array("bold", "italic", "underline", "strikethrough", "unorderedlist", "seperator", "forecolor", "createlink"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;

var mid = new WYSIWYG.Settings();
mid.ImagesDir = "../editor/images/";
mid.PopupsDir = "../editor/popups/";
mid.CSSFile = "../editor/styles/wysiwyg.css";
mid.Width = "300px";
mid.Height = "150px";
mid.DefaultStyle = "font-family: Arial; font-size: 14px; color: #333333";
mid.Toolbar[0] = new Array("fontsize", "bold", "italic", "underline", "strikethrough", "seperator", "unorderedlist", "orderedlist", "seperator", "forecolor", "createlink"); // small setup for toolbar 1
mid.Toolbar[1] = ""; // disable toolbar 2
mid.StatusBarEnabled = false;
