forked from extern/egroupware
8a0f08b54f
* added function to add fckeditor instead of tinymce
44 lines
1.7 KiB
JavaScript
44 lines
1.7 KiB
JavaScript
/*
|
|
* FCKeditor - The text editor for internet
|
|
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
|
*
|
|
* Licensed under the terms of the GNU Lesser General Public License:
|
|
* http://www.opensource.org/licenses/lgpl-license.php
|
|
*
|
|
* For further information visit:
|
|
* http://www.fckeditor.net/
|
|
*
|
|
* "Support Open Source software. What about a donation today?"
|
|
*
|
|
* File Name: fckconstants.js
|
|
* Defines some constants used by the editor. These constants are also
|
|
* globally available in the page where the editor is placed.
|
|
*
|
|
* File Authors:
|
|
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
|
*/
|
|
|
|
// Editor Instance Status.
|
|
var FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ;
|
|
var FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE = 1 ;
|
|
var FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE = 2 ;
|
|
|
|
// Tristate Operations.
|
|
var FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF = 0 ;
|
|
var FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON = 1 ;
|
|
var FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ;
|
|
|
|
// For unknown values.
|
|
var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -9 ;
|
|
|
|
// Toolbar Items Style.
|
|
var FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYICON = 0 ;
|
|
var FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 1 ;
|
|
var FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ICONTEXT = 2 ;
|
|
|
|
// Edit Mode
|
|
var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ;
|
|
var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ;
|
|
|
|
var FCK_IMAGES_PATH = 'images/' ; // Check usage.
|
|
var FCK_SPACER_PATH = 'images/spacer.gif' ; |