/********************************************************************
 * 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 = "resources/images/system/";
full.PopupsDir = "resources/modules/";
full.CSSFile = "wysiwyg.css";
full.Width = "85%"; 
full.Height = "250px";
// customize toolbar buttons
//full.addToolbarElement("font", 2, 1); 
//full.addToolbarElement("fontsize", 2, 2);
//full.addToolbarElement("headings", 3, 3);
// openImageLibrary addon implementation
full.ImagePopupFile = "addons/imagelibrary/insert_image.php";
full.ImagePopupWidth = 600;
full.ImagePopupHeight = 245;

/*
 * Small Setup Example
 */
var small = new WYSIWYG.Settings();
small.Width = "450px";
small.Height = "100px";
small.DefaultStyle = "font-family: Verdana; font-size: 11px; background-color: #ffffff";
small.Toolbar[0] = new Array("bold", "italic", "underline", "seperator", "unorderedlist", "orderedlist", "outdent", "indent", "seperator", "forecolor", "backcolor", "seperator", "undo", "redo"); // small setup for toolbar 1
small.Toolbar[1] = ""; // disable toolbar 2
small.StatusBarEnabled = false;
document.WYSIWYG.focus();

 

