source: companies/celepar/expressoMail1_2/js/fckeditor/fckconfig.js @ 763

Revision 763, 8.6 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
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: fckconfig.js
14 *      Editor configuration settings.
15 *     
16 *      Follow this link for more information:
17 *      http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings
18 *
19 * File Authors:
20 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
21 */
22
23FCKConfig.CustomConfigurationsPath = '' ;
24
25FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
26FCKConfig.ToolbarComboPreviewCSS = '' ;
27
28FCKConfig.DocType = '' ;
29
30FCKConfig.BaseHref = '' ;
31
32FCKConfig.FullPage = false ;
33
34FCKConfig.Debug = false ;
35FCKConfig.AllowQueryStringDebug = true ;
36
37FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
38FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
39
40FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
41
42// FCKConfig.Plugins.Add( 'autogrow' ) ;
43FCKConfig.AutoGrowMax = 400 ;
44
45// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;   // ASP style server side code <%...%>
46// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
47// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;        // ASP.Net style tags <asp:control>
48
49FCKConfig.AutoDetectLanguage    = false ;
50FCKConfig.DefaultLanguage               = 'pt-br' ;
51FCKConfig.ContentLangDirection  = 'ltr' ;
52
53FCKConfig.ProcessHTMLEntities   = true ;
54FCKConfig.IncludeLatinEntities  = true ;
55FCKConfig.IncludeGreekEntities  = true ;
56
57FCKConfig.ProcessNumericEntities = false ;
58
59FCKConfig.AdditionalNumericEntities = ''  ;             // Single Quote: "'"
60
61FCKConfig.FillEmptyBlocks       = true ;
62
63FCKConfig.FormatSource          = true ;
64FCKConfig.FormatOutput          = true ;
65FCKConfig.FormatIndentator      = '    ' ;
66
67FCKConfig.ForceStrongEm = true ;
68FCKConfig.GeckoUseSPAN  = false ;
69FCKConfig.StartupFocus  = false ;
70FCKConfig.ForcePasteAsPlainText = false ;
71FCKConfig.AutoDetectPasteFromWord = true ;      // IE only.
72FCKConfig.ForceSimpleAmpersand  = false ;
73FCKConfig.TabSpaces             = 0 ;
74FCKConfig.ShowBorders   = true ;
75FCKConfig.SourcePopup   = false ;
76FCKConfig.UseBROnCarriageReturn = false ;       // IE only.
77FCKConfig.ToolbarStartExpanded  = true ;
78FCKConfig.ToolbarCanCollapse    = true ;
79FCKConfig.IgnoreEmptyParagraphValue = true ;
80FCKConfig.PreserveSessionOnFileBrowser = false ;
81FCKConfig.FloatingPanelsZIndex = 10000 ;
82
83FCKConfig.TemplateReplaceAll = true ;
84FCKConfig.TemplateReplaceCheckbox = true ;
85
86FCKConfig.ToolbarLocation = 'In' ;
87
88FCKConfig.ToolbarSets["Default"] = [
89        ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
90        ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
91        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
92        ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
93        '/',
94        ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
95        ['OrderedList','UnorderedList','-','Outdent','Indent'],
96        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
97        ['Link','Unlink','Anchor'],
98        ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
99        '/',
100        ['Style','FontFormat','FontName','FontSize'],
101        ['TextColor','BGColor'],
102        ['FitWindow','-','About']
103] ;
104
105FCKConfig.ToolbarSets["ExpressoLivre"] = [
106        ['FontFormat','Bold','Italic','Underline','-','TextColor','BGColor','-'],
107        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
108        '/',
109        ['FontName','FontSize','Source']
110] ;
111
112FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
113
114FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
115
116FCKConfig.FontNames             = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
117FCKConfig.FontSizes             = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
118FCKConfig.FontFormats   = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ;
119
120FCKConfig.StylesXmlPath         = FCKConfig.EditorPath + 'fckstyles.xml' ;
121FCKConfig.TemplatesXmlPath      = FCKConfig.EditorPath + 'fcktemplates.xml' ;
122
123FCKConfig.SpellChecker                  = 'ieSpell' ;   // 'ieSpell' | 'SpellerPages'
124FCKConfig.IeSpellDownloadUrl    = 'http://wcarchive.cdrom.com/pub/simtelnet/handheld/webbrow1/ieSpellSetup240428.exe' ;
125
126FCKConfig.MaxUndoLevels = 15 ;
127
128FCKConfig.DisableObjectResizing = false ;
129FCKConfig.DisableFFTableHandles = true ;
130
131FCKConfig.LinkDlgHideTarget             = false ;
132FCKConfig.LinkDlgHideAdvanced   = false ;
133
134FCKConfig.ImageDlgHideLink              = false ;
135FCKConfig.ImageDlgHideAdvanced  = false ;
136
137FCKConfig.FlashDlgHideAdvanced  = false ;
138
139// The following value defines which File Browser connector and Quick Upload
140// "uploader" to use. It is valid for the default implementaion and it is here
141// just to make this configuration file cleaner.
142// It is not possible to change this value using an external file or even
143// inline when creating the editor instance. In that cases you must set the
144// values of LinkBrowserURL, ImageBrowserURL and so on.
145// Custom implementations should just ignore it.
146var _FileBrowserLanguage        = 'php' ;       // asp | aspx | cfm | lasso | perl | php | py
147var _QuickUploadLanguage        = 'php' ;       // asp | aspx | cfm | lasso | php
148
149// Don't care about the following line. It just calculates the correct connector
150// extension to use for the default File Browser (Perl uses "cgi").
151var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
152
153FCKConfig.LinkBrowser = true ;
154FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
155FCKConfig.LinkBrowserWindowWidth        = FCKConfig.ScreenWidth * 0.7 ;         // 70%
156FCKConfig.LinkBrowserWindowHeight       = FCKConfig.ScreenHeight * 0.7 ;        // 70%
157
158FCKConfig.ImageBrowser = true ;
159FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
160FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;      // 70% ;
161FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;     // 70% ;
162
163FCKConfig.FlashBrowser = true ;
164FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
165FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;      //70% ;
166FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;     //70% ;
167
168FCKConfig.LinkUpload = true ;
169FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ;
170FCKConfig.LinkUploadAllowedExtensions   = "" ;                  // empty for all
171FCKConfig.LinkUploadDeniedExtensions    = ".(php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi)$" ;  // empty for no one
172
173FCKConfig.ImageUpload = false ;
174FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ;
175FCKConfig.ImageUploadAllowedExtensions  = ".(jpg|gif|jpeg|png)$" ;              // empty for all
176FCKConfig.ImageUploadDeniedExtensions   = "" ;                                                  // empty for no one
177
178FCKConfig.FlashUpload = false ;
179FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ;
180FCKConfig.FlashUploadAllowedExtensions  = ".(swf|fla)$" ;               // empty for all
181FCKConfig.FlashUploadDeniedExtensions   = "" ;                                  // empty for no one
182
183FCKConfig.SmileyPath    = FCKConfig.BasePath + 'images/smiley/msn/' ;
184FCKConfig.SmileyImages  = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ;
185FCKConfig.SmileyColumns = 8 ;
186FCKConfig.SmileyWindowWidth             = 320 ;
187FCKConfig.SmileyWindowHeight    = 240 ;
Note: See TracBrowser for help on using the repository browser.