PageRenderTime 29ms CodeModel.GetById 7ms app.highlight 17ms RepoModel.GetById 1ms app.codeStats 0ms

/pigeoncms/Plugins/fckeditor/fckconfig.js

http://pigeoncms.googlecode.com/
JavaScript | 392 lines | 246 code | 74 blank | 72 comment | 2 complexity | c27d3107bf7f9474856f870d09019265 MD5 | raw file
  1/*
  2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  4 *
  5 * == BEGIN LICENSE ==
  6 *
  7 * Licensed under the terms of any of the following licenses at your
  8 * choice:
  9 *
 10 *  - GNU General Public License Version 2 or later (the "GPL")
 11 *    http://www.gnu.org/licenses/gpl.html
 12 *
 13 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 14 *    http://www.gnu.org/licenses/lgpl.html
 15 *
 16 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 17 *    http://www.mozilla.org/MPL/MPL-1.1.html
 18 *
 19 * == END LICENSE ==
 20 *
 21 * Editor configuration settings.
 22 *
 23 * Follow this link for more information:
 24 * http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options
 25 */
 26
 27FCKConfig.CustomConfigurationsPath = '' ;
 28
 29FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;
 30FCKConfig.EditorAreaStyles = '' ;
 31FCKConfig.ToolbarComboPreviewCSS = '' ;
 32
 33FCKConfig.DocType = '' ;
 34
 35FCKConfig.BaseHref = '' ;
 36
 37FCKConfig.FullPage = false ;
 38
 39// The following option determines whether the "Show Blocks" feature is enabled or not at startup.
 40FCKConfig.StartupShowBlocks = false ;
 41
 42FCKConfig.Debug = false ;
 43FCKConfig.AllowQueryStringDebug = true ;
 44
 45FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;    //FCK-Pice default|office2003|silver
 46FCKConfig.SkinEditorCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
 47FCKConfig.SkinDialogCSS = '' ;	// FCKConfig.SkinPath + "|<minified css>" ;
 48
 49FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ;
 50
 51FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;
 52
 53// FCKConfig.Plugins.Add( 'autogrow' ) ;
 54// FCKConfig.Plugins.Add( 'dragresizetable' );
 55FCKConfig.Plugins.Add( 'placeholder', 'en,it,de,fr') ; //FCK-Pice
 56FCKConfig.Plugins.Add( 'googlemaps', 'de,en,es,fr,it,nl') ; //FCK-Pice
 57FCKConfig.Plugins.Add( 'imgmap', 'en') ;                    //FCK-Pice
 58FCKConfig.Plugins.Add( 'dynamicCSS') ;                      //FCK-Pice
 59
 60FCKConfig.AutoGrowMax = 400 ;
 61
 62// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ;	// ASP style server side code <%...%>
 63// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;	// PHP style server side code
 64// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ;	// ASP.Net style tags <asp:control>
 65
 66FCKConfig.AutoDetectLanguage	= true ;
 67FCKConfig.DefaultLanguage		= 'en' ;
 68FCKConfig.ContentLangDirection	= 'ltr' ;
 69
 70FCKConfig.ProcessHTMLEntities	= true ;
 71FCKConfig.IncludeLatinEntities	= true ;
 72FCKConfig.IncludeGreekEntities	= true ;
 73
 74FCKConfig.ProcessNumericEntities = false ;
 75
 76FCKConfig.AdditionalNumericEntities = ''  ;		// Single Quote: "'"
 77
 78FCKConfig.FillEmptyBlocks	= true ;
 79
 80FCKConfig.FormatSource		= true ;
 81FCKConfig.FormatOutput		= true ;
 82FCKConfig.FormatIndentator	= '    ' ;
 83
 84FCKConfig.EMailProtection = 'none' ; // none | encode | function
 85FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
 86
 87FCKConfig.StartupFocus	= false ;
 88FCKConfig.ForcePasteAsPlainText	= true ;   //FCK-Pice
 89FCKConfig.AutoDetectPasteFromWord = true ;	// IE only.
 90FCKConfig.ShowDropDialog = true ;
 91FCKConfig.ForceSimpleAmpersand	= false ;
 92FCKConfig.TabSpaces		= 0 ;
 93FCKConfig.ShowBorders	= true ;
 94FCKConfig.SourcePopup	= false ;
 95FCKConfig.ToolbarStartExpanded	= true ;
 96FCKConfig.ToolbarCanCollapse	= true ;
 97FCKConfig.IgnoreEmptyParagraphValue = true ;
 98FCKConfig.FloatingPanelsZIndex = 10000 ;
 99FCKConfig.HtmlEncodeOutput = false ;
100
101FCKConfig.TemplateReplaceAll = true ;
102FCKConfig.TemplateReplaceCheckbox = true ;
103
104FCKConfig.ToolbarLocation = 'In' ;
105
106FCKConfig.ToolbarSets["Default"] = [
107	['Source','Placeholder'/*FCK-Pice*/,'DocProps','-','Save','NewPage','Preview','-','Templates'],
108	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
109	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
110	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
111	'/',
112	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
113	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
114	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
115	['Link','Unlink','Anchor'],
116	['Image','imgmapPopup'/*FCK-Pice*/,'Flash','googlemaps'/*FCK-Pice*/,'Table','Rule','Smiley','SpecialChar','PageBreak'],
117	'/',
118	['Style','FontFormat','FontName','FontSize','dynamicCSS'/*FCK-Pice*/],
119	['TextColor','BGColor'],
120	['FitWindow','ShowBlocks','-','About']		// No comma for the last row.
121] ;
122
123FCKConfig.ToolbarSets["Basic"] = [
124	['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
125] ;
126
127//FCK-Pice
128//webmaster
129FCKConfig.ToolbarSets["WebAdmin"] = [
130	['Source','Placeholder'/*FCK-Pice*/],
131	['Cut','Copy','PasteText'],['FitWindow'],
132	['Undo','Redo','-','Find','Replace','-','RemoveFormat'],
133	
134	['Image','imgmapPopup'/*FCK-Pice*/,'Flash','googlemaps'/*FCK-Pice*/,'-','Table','Rule','SpecialChar','PageBreak','-','Bold','Italic','Underline','StrikeThrough'],
135	'/',
136	['OrderedList','UnorderedList','-','Outdent','Indent'],
137	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
138	['Link','Unlink','Anchor'],
139	'/',
140	['Style','FontFormat','dynamicCSS'/*FCK-Pice*/]
141] ;
142
143//FCK-Pice
144//gestori agritur
145FCKConfig.ToolbarSets["AgriturAdmin"] = [
146	['Bold','Italic','Underline','StrikeThrough'],
147	['OrderedList','UnorderedList','-','Outdent','Indent'],
148	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
149	'/',
150	['Style']
151] ;
152
153//FCK-Pice
154FCKConfig.ToolbarSets["SmallBar"] = [
155	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
156	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],['FitWindow','-','About'],
157	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Image','imgmapPopup'/*FCK-Pice*/,'Flash','googlemaps'/*FCK-Pice*/,'Table','Rule','Smiley','SpecialChar','PageBreak'],
158	['TextColor','BGColor'],
159	'/',
160	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
161	['OrderedList','UnorderedList','-','Outdent','Indent'],
162	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
163	['Link','Unlink','Anchor'],
164	'/',
165	['Style','FontName']
166] ;
167
168//FCK-Pice
169FCKConfig.GoogleMaps_Key = 'ABQIXXXXTK49xSd1dyqzMtVVvsEOURTry8_0mo9SnnoPiqWiVetXXsIp8RT6QjS4U0MXXX_XXXUQqUtK3vqqqw' ;   //www.yourdomain.it
170
171FCKConfig.GoogleMaps_CenterLat = 45.43901;
172FCKConfig.GoogleMaps_CenterLon = 10.99449;
173FCKConfig.GoogleMaps_Zoom = 14;
174/*
175FCKConfig.GoogleMaps_Width : The width of the map area
176FCKConfig.GoogleMaps_Height : The height of the map area
177FCKConfig.GoogleMaps_MarkerText : The text for the marker
178FCKConfig.GoogleMaps_WrapperClass : The Google Maps automatically fills the width and height of the generated div, so if you want to add a little spacing and a border, you need to use a div around it. If this entry contains a non-empty value then such a div will be generated with this class.
179Important: in the preview inside the editor, the class will be applied to an image, not a div!
180FCKConfig.GoogleMaps_PublicKey : If you are using the editor in a different domain than the final location of the web, the maps won't work correctly by default. In this situation you must use this setting. First, set the GoogleMaps_Key to the key of the domain where FCKeditor will be run, and then you have two options:
181Set an emtpy value for GoogleMaps_PublicKey (FCKConfig.GoogleMaps_PublicKey = '';) this means that when the user wants to create a map he must supply the key for the final domain. This is useful if you don't know beforehand all the domains where that installation will be used. Of course, you must explain to your users how to get an API Key
182Set the value of the final domain in GoogleMaps_PublicKey. For the user this means no troubles at all, everything works automatically.
183*/
184
185
186FCKConfig.EnterMode = 'br' ;		//FCK-Pice p | div | br
187FCKConfig.ShiftEnterMode = 'p' ;	//FCK-Pice p | div | br
188
189FCKConfig.Keystrokes = [
190	[ CTRL + 65 /*A*/, true ],
191	[ CTRL + 67 /*C*/, true ],
192	[ CTRL + 70 /*F*/, true ],
193	[ CTRL + 83 /*S*/, true ],
194	[ CTRL + 84 /*T*/, true ],
195	[ CTRL + 88 /*X*/, true ],
196	[ CTRL + 86 /*V*/, 'Paste' ],
197	[ CTRL + 45 /*INS*/, true ],
198	[ SHIFT + 45 /*INS*/, 'Paste' ],
199	[ CTRL + 88 /*X*/, 'Cut' ],
200	[ SHIFT + 46 /*DEL*/, 'Cut' ],
201	[ CTRL + 90 /*Z*/, 'Undo' ],
202	[ CTRL + 89 /*Y*/, 'Redo' ],
203	[ CTRL + SHIFT + 90 /*Z*/, 'Redo' ],
204	[ CTRL + 76 /*L*/, 'Link' ],
205	[ CTRL + 66 /*B*/, 'Bold' ],
206	[ CTRL + 73 /*I*/, 'Italic' ],
207	[ CTRL + 85 /*U*/, 'Underline' ],
208	[ CTRL + SHIFT + 83 /*S*/, 'Save' ],
209	[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
210	[ SHIFT + 32 /*SPACE*/, 'Nbsp' ]
211] ;
212//FCK-Pice
213//[ CTRL + 9 /*TAB*/, 'Source' ]
214
215FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ;
216FCKConfig.BrowserContextMenuOnCtrl = false ;
217FCKConfig.BrowserContextMenu = false ;
218
219FCKConfig.EnableMoreFontColors = true ;
220FCKConfig.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' ;
221
222FCKConfig.FontFormats	= 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ;
223FCKConfig.FontNames		= 'Verdana;Arial' ;    //FCK-Pice  Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana
224FCKConfig.FontSizes		= 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
225
226FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
227FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
228
229FCKConfig.SpellChecker			= 'WSC' ;	// 'WSC' | 'SpellerPages' | 'ieSpell'
230FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
231FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
232FCKConfig.FirefoxSpellChecker	= false ;
233
234FCKConfig.MaxUndoLevels = 15 ;
235
236FCKConfig.DisableObjectResizing = false ;
237FCKConfig.DisableFFTableHandles = true ;
238
239FCKConfig.LinkDlgHideTarget		= false ;
240FCKConfig.LinkDlgHideAdvanced	= false ;
241
242FCKConfig.ImageDlgHideLink		= false ;
243FCKConfig.ImageDlgHideAdvanced	= false ;
244
245FCKConfig.FlashDlgHideAdvanced	= false ;
246
247FCKConfig.ProtectedTags = '' ;
248
249// This will be applied to the body element of the editor
250FCKConfig.BodyId = '' ;
251FCKConfig.BodyClass = '' ;
252
253FCKConfig.DefaultStyleLabel = '' ;
254FCKConfig.DefaultFontFormatLabel = '' ;
255FCKConfig.DefaultFontLabel = '' ;
256FCKConfig.DefaultFontSizeLabel = '' ;
257
258FCKConfig.DefaultLinkTarget = '' ;
259
260// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word
261FCKConfig.CleanWordKeepsStructure = false ;
262
263// Only inline elements are valid.
264FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ;
265
266// Attributes that will be removed
267FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
268
269FCKConfig.CustomStyles =
270{
271	//'Red Title'	: { Element : 'h3', Styles : { 'color' : 'Red' } }  //FCK-Pice
272};
273
274// Do not add, rename or remove styles here. Only apply definition changes.
275FCKConfig.CoreStyles =
276{
277	// Basic Inline Styles.
278	'Bold'			: { Element : 'strong', Overrides : 'b' },
279	'Italic'		: { Element : 'em', Overrides : 'i' },
280	'Underline'		: { Element : 'u' },
281	'StrikeThrough'	: { Element : 'strike' },
282	'Subscript'		: { Element : 'sub' },
283	'Superscript'	: { Element : 'sup' },
284
285	// Basic Block Styles (Font Format Combo).
286	'p'				: { Element : 'p' },
287	'div'			: { Element : 'div' },
288	'pre'			: { Element : 'pre' },
289	'address'		: { Element : 'address' },
290	'h1'			: { Element : 'h1' },
291	'h2'			: { Element : 'h2' },
292	'h3'			: { Element : 'h3' },
293	'h4'			: { Element : 'h4' },
294	'h5'			: { Element : 'h5' },
295	'h6'			: { Element : 'h6' },
296
297	// Other formatting features.
298	'FontFace' :
299	{
300		Element		: 'span',
301		Styles		: { 'font-family' : '#("Font")' },
302		Overrides	: [ { Element : 'font', Attributes : { 'face' : null } } ]
303	},
304
305	'Size' :
306	{
307		Element		: 'span',
308		Styles		: { 'font-size' : '#("Size","fontSize")' },
309		Overrides	: [ { Element : 'font', Attributes : { 'size' : null } } ]
310	},
311
312	'Color' :
313	{
314		Element		: 'span',
315		Styles		: { 'color' : '#("Color","color")' },
316		Overrides	: [ { Element : 'font', Attributes : { 'color' : null } } ]
317	},
318
319	'BackColor'		: { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },
320
321	'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } }
322};
323
324// The distance of an indentation step.
325FCKConfig.IndentLength = 40 ;
326FCKConfig.IndentUnit = 'px' ;
327
328// Alternatively, FCKeditor allows the use of CSS classes for block indentation.
329// This overrides the IndentLength/IndentUnit settings.
330FCKConfig.IndentClasses = [] ;
331
332// [ Left, Center, Right, Justified ]
333FCKConfig.JustifyClasses = [] ;
334
335// The following value defines which File Browser connector and Quick Upload
336// "uploader" to use. It is valid for the default implementaion and it is here
337// just to make this configuration file cleaner.
338// It is not possible to change this value using an external file or even
339// inline when creating the editor instance. In that cases you must set the
340// values of LinkBrowserURL, ImageBrowserURL and so on.
341// Custom implementations should just ignore it.
342var _FileBrowserLanguage	= 'aspx' ;	//FCK-Pice asp | aspx | cfm | lasso | perl | php | py
343var _QuickUploadLanguage	= 'aspx' ;	//FCK-Pice asp | aspx | cfm | lasso | perl | php | py
344
345// Don't care about the following two lines. It just calculates the correct connector
346// extension to use for the default File Browser (Perl uses "cgi").
347var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;
348var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ;
349
350FCKConfig.LinkBrowser = true ;
351//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'ckfinder/ckfinder.html';  //FCK-Pice
352FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent(FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension);
353FCKConfig.LinkBrowserWindowWidth	= FCKConfig.ScreenWidth * 0.7 ;		// 70%
354FCKConfig.LinkBrowserWindowHeight	= FCKConfig.ScreenHeight * 0.7 ;	// 70%
355
356FCKConfig.ImageBrowser = true ;
357FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
358FCKConfig.ImageBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	// 70% ;
359FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	// 70% ;
360
361FCKConfig.FlashBrowser = true ;
362FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
363FCKConfig.FlashBrowserWindowWidth  = FCKConfig.ScreenWidth * 0.7 ;	//70% ;
364FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;	//70% ;
365
366FCKConfig.LinkUpload = true ;
367FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ;
368FCKConfig.LinkUploadAllowedExtensions	= ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ;			// empty for all
369FCKConfig.LinkUploadDeniedExtensions	= "" ;	// empty for no one
370
371FCKConfig.ImageUpload = true ;
372FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
373FCKConfig.ImageUploadAllowedExtensions	= ".(jpg|gif|jpeg|png|bmp)$" ;		// empty for all
374FCKConfig.ImageUploadDeniedExtensions	= "" ;							// empty for no one
375
376FCKConfig.FlashUpload = true ;
377FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ;
378FCKConfig.FlashUploadAllowedExtensions	= ".(swf|flv)$" ;		// empty for all
379FCKConfig.FlashUploadDeniedExtensions	= "" ;					// empty for no one
380
381FCKConfig.SmileyPath	= FCKConfig.BasePath + 'images/smiley/msn/' ;
382FCKConfig.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'] ;
383FCKConfig.SmileyColumns = 8 ;
384FCKConfig.SmileyWindowWidth		= 320 ;
385FCKConfig.SmileyWindowHeight	= 210 ;
386
387FCKConfig.BackgroundBlockerColor = '#ffffff' ;
388FCKConfig.BackgroundBlockerOpacity = 0.50 ;
389
390FCKConfig.MsWebBrowserControlCompat = false ;
391
392FCKConfig.PreventSubmitHandler = false ;