1 | /*
|
---|
2 | * FCKeditor - The text editor for internet
|
---|
3 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
4 | *
|
---|
5 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
6 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
7 | *
|
---|
8 | * For further information visit:
|
---|
9 | * http://www.fckeditor.net/
|
---|
10 | *
|
---|
11 | * "Support Open Source software. What about a donation today?"
|
---|
12 | *
|
---|
13 | * File Name: fckconstants.js
|
---|
14 | * Defines some constants used by the editor. These constants are also
|
---|
15 | * globally available in the page where the editor is placed.
|
---|
16 | *
|
---|
17 | * File Authors:
|
---|
18 | * Frederico Caldeira Knabben (fredck@fckeditor.net)
|
---|
19 | */
|
---|
20 |
|
---|
21 | // Editor Instance Status.
|
---|
22 | var FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ;
|
---|
23 | var FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE = 1 ;
|
---|
24 | var FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE = 2 ;
|
---|
25 |
|
---|
26 | // Tristate Operations.
|
---|
27 | var FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF = 0 ;
|
---|
28 | var FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON = 1 ;
|
---|
29 | var FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ;
|
---|
30 |
|
---|
31 | // For unknown values.
|
---|
32 | var FCK_UNKNOWN = window.parent.FCK_UNKNOWN = -9 ;
|
---|
33 |
|
---|
34 | // Toolbar Items Style.
|
---|
35 | var FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYICON = 0 ;
|
---|
36 | var FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT = 1 ;
|
---|
37 | var FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ICONTEXT = 2 ;
|
---|
38 |
|
---|
39 | // Edit Mode
|
---|
40 | var FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ;
|
---|
41 | var FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE = 1 ;
|
---|
42 |
|
---|
43 | var FCK_IMAGES_PATH = 'images/' ; // Check usage.
|
---|
44 | var FCK_SPACER_PATH = 'images/spacer.gif' ;
|
---|