Revision 1289
Added by kweitzel over 14 years ago
fckconfig.js | ||
---|---|---|
51 | 51 |
FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; |
52 | 52 |
|
53 | 53 |
// FCKConfig.Plugins.Add( 'autogrow' ) ; |
54 |
// FCKConfig.Plugins.Add( 'dragresizetable' );
|
|
54 |
FCKConfig.Plugins.Add( 'dragresizetable' ); |
|
55 | 55 |
FCKConfig.AutoGrowMax = 400 ; |
56 | 56 |
|
57 | 57 |
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> |
58 |
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> |
|
58 | 59 |
// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code |
59 |
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>
|
|
60 |
// FCKConfig.ProtectedSource.Add( /<object[\s|\S]+?<\/object>/gi ) ;
|
|
60 | 61 |
|
61 | 62 |
FCKConfig.AutoDetectLanguage = true ; |
62 | 63 |
FCKConfig.DefaultLanguage = 'en' ; |
... | ... | |
160 | 161 |
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; |
161 | 162 |
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; |
162 | 163 |
|
163 |
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell' |
|
164 |
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SCAYT' | 'SpellerPages' | 'ieSpell'
|
|
164 | 165 |
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; |
165 | 166 |
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl |
166 | 167 |
FCKConfig.FirefoxSpellChecker = false ; |
... | ... | |
200 | 201 |
// Attributes that will be removed |
201 | 202 |
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ; |
202 | 203 |
|
204 |
FCKConfig.CustomStyles = |
|
205 |
{ |
|
206 |
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } |
|
207 |
}; |
|
208 |
|
|
203 | 209 |
// Do not add, rename or remove styles here. Only apply definition changes. |
204 | 210 |
FCKConfig.CoreStyles = |
205 | 211 |
{ |
... | ... | |
290 | 296 |
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; |
291 | 297 |
FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; |
292 | 298 |
FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; |
299 |
// Added for flv support. |
|
300 |
FCKConfig.MediaBrowser = true ; |
|
301 |
FCKConfig.MediaBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Media&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; |
|
302 |
FCKConfig.MediaBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; |
|
303 |
FCKConfig.MediaBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; |
|
293 | 304 |
|
294 | 305 |
FCKConfig.LinkUpload = true ; |
295 | 306 |
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; |
Also available in: Unified diff
Branch 2.8.1 merged back into Trunk