您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->科信客户关系管理系统源码>>fckeditor/fckconfig.js>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:科信客户关系管理系统源码


当前文件路径:KeXinCrm/fckeditor/fckconfig.js 文件类型
普通视图
		            
1/* 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 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 * File Name: fckconfig.js 22 * Editor configuration settings. 23 * 24 * Follow this link for more information: 25 * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings 26 * 27 * File Authors: 28 * Frederico Caldeira Knabben (www.fckeditor.net) 29 */ 30 31// Disable the custom Enter Key Handler (this configuration will be removed in 32// version 2.5). 33FCKConfig.DisableEnterKeyHandler = false ; 34 35FCKConfig.CustomConfigurationsPath = '' ; 36 37FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; 38FCKConfig.ToolbarComboPreviewCSS = '' ; 39 40FCKConfig.DocType = '' ; 41 42FCKConfig.BaseHref = '' ; 43 44FCKConfig.FullPage = false ; 45 46FCKConfig.Debug = false ; 47FCKConfig.AllowQueryStringDebug = true ; 48 49FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ; 50FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; 51 52FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; 53 54// FCKConfig.Plugins.Add( 'autogrow' ) ; 55FCKConfig.AutoGrowMax = 400 ; 56 57// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 58// 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 61FCKConfig.AutoDetectLanguage = true ; 62FCKConfig.DefaultLanguage = 'zh-cn' ; 63FCKConfig.ContentLangDirection = 'ltr' ; 64 65FCKConfig.ProcessHTMLEntities = true ; 66FCKConfig.IncludeLatinEntities = true ; 67FCKConfig.IncludeGreekEntities = true ; 68 69FCKConfig.ProcessNumericEntities = false ; 70 71FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" 72 73FCKConfig.FillEmptyBlocks = true ; 74 75FCKConfig.FormatSource = true ; 76FCKConfig.FormatOutput = true ; 77FCKConfig.FormatIndentator = ' ' ; 78 79FCKConfig.ForceStrongEm = true ; 80FCKConfig.GeckoUseSPAN = false ; 81FCKConfig.StartupFocus = false ; 82FCKConfig.ForcePasteAsPlainText = false ; 83FCKConfig.AutoDetectPasteFromWord = true ; // IE only. 84FCKConfig.ForceSimpleAmpersand = false ; 85FCKConfig.TabSpaces = 1 ; 86FCKConfig.ShowBorders = true ; 87FCKConfig.SourcePopup = false ; 88FCKConfig.ToolbarStartExpanded = false ; 89FCKConfig.ToolbarCanCollapse = true ; 90FCKConfig.IgnoreEmptyParagraphValue = true ; 91FCKConfig.PreserveSessionOnFileBrowser = false ; 92FCKConfig.FloatingPanelsZIndex = 10000 ; 93 94FCKConfig.TemplateReplaceAll = true ; 95FCKConfig.TemplateReplaceCheckbox = true ; 96 97FCKConfig.ToolbarLocation = 'In' ; 98 99FCKConfig.ToolbarSets["Default"] = [ 100 /* 101 ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], 102 ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], 103 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], 104 ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], 105 '/', 106 ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], 107 ['OrderedList','UnorderedList','-','Outdent','Indent'], 108 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], 109 ['Link','Unlink','Anchor'], 110 ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], 111 '/', 112 ['Style','FontFormat','FontName','FontSize'], 113 ['TextColor','BGColor'], 114 ['FitWindow','-','About'] 115 */ 116 117] ; 118 119FCKConfig.ToolbarSets["Basic"] = [ 120 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] 121] ; 122 123 124FCKConfig.EnterMode = 'p' ; // p | div | br 125FCKConfig.ShiftEnterMode = 'br' ; // p | div | br 126 127FCKConfig.Keystrokes = [ 128 [ CTRL + 65 /*A*/, true ], 129 [ CTRL + 67 /*C*/, true ], 130 [ CTRL + 88 /*X*/, true ], 131 [ CTRL + 86 /*V*/, 'Paste' ], 132 [ SHIFT + 45 /*INS*/, 'Paste' ], 133 [ CTRL + 90 /*Z*/, 'Undo' ], 134 [ CTRL + 89 /*Y*/, 'Redo' ], 135 [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], 136 [ CTRL + 76 /*L*/, 'Link' ], 137 [ CTRL + 66 /*B*/, 'Bold' ], 138 [ CTRL + 73 /*I*/, 'Italic' ], 139 [ CTRL + 85 /*U*/, 'Underline' ], 140 [ CTRL + ALT + 83 /*S*/, 'Save' ], 141 [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ], 142 [ CTRL + 9 /*TAB*/, 'Source' ] 143] ; 144 145FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; 146 147FCKConfig.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' ; 148 149FCKConfig.FontNames = '瀹嬩綋;榛戜綋;闅朵功;妤蜂綋_GB2312;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana'; 150FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; 151FCKConfig.FontFormats = 'p;div;pre;address;h1;h2;h3;h4;h5;h6' ; 152 153FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; 154FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; 155 156FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' 157FCKConfig.IeSpellDownloadUrl = 'http://wcarchive.cdrom.com/pub/simtelnet/handheld/webbrow1/ieSpellSetup240428.exe' ; 158FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 159 160FCKConfig.MaxUndoLevels = 15 ; 161 162FCKConfig.DisableObjectResizing = false ; 163FCKConfig.DisableFFTableHandles = true ; 164 165FCKConfig.LinkDlgHideTarget = false ; 166FCKConfig.LinkDlgHideAdvanced = false ; 167 168FCKConfig.ImageDlgHideLink = false ; 169FCKConfig.ImageDlgHideAdvanced = false ; 170 171FCKConfig.FlashDlgHideAdvanced = false ; 172 173FCKConfig.ProtectedTags = '' ; 174 175// This will be applied to the body element of the editor 176FCKConfig.BodyId = '' ; 177FCKConfig.BodyClass = '' ; 178 179// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word 180FCKConfig.CleanWordKeepsStructure = false ; 181 182// The following value defines which File Browser connector and Quick Upload 183// "uploader" to use. It is valid for the default implementaion and it is here 184// just to make this configuration file cleaner. 185// It is not possible to change this value using an external file or even 186// inline when creating the editor instance. In that cases you must set the 187// values of LinkBrowserURL, ImageBrowserURL and so on. 188// Custom implementations should just ignore it. 189var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py 190var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | php 191 192// Don't care about the following line. It just calculates the correct connector 193// extension to use for the default File Browser (Perl uses "cgi"). 194var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; 195 196FCKConfig.LinkBrowser = true ; 197FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; 198FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% 199FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% 200 201FCKConfig.ImageBrowser = true ; 202FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; 203FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; 204FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; 205 206FCKConfig.FlashBrowser = true ; 207FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; 208FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; 209FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; 210 211FCKConfig.LinkUpload = true ; 212FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage ; 213FCKConfig.LinkUploadAllowedExtensions = "" ; // empty for all 214FCKConfig.LinkUploadDeniedExtensions = ".(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|com|dll|vbs|js|reg|cgi|htaccess|asis)$" ; // empty for no one 215 216FCKConfig.ImageUpload = true ; 217FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Image' ; 218FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all 219FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one 220 221FCKConfig.FlashUpload = true ; 222FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/' + _QuickUploadLanguage + '/upload.' + _QuickUploadLanguage + '?Type=Flash' ; 223FCKConfig.FlashUploadAllowedExtensions = ".(swf|fla)$" ; // empty for all 224FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one 225 226FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; 227FCKConfig.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'] ; 228FCKConfig.SmileyColumns = 8 ; 229FCKConfig.SmileyWindowWidth = 320 ; 230FCKConfig.SmileyWindowHeight = 240 ; 231
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:科信客户关系管理系统源码

- ASP.NET标准三层架构留言本项..

- SqlHelper源码及使用实例

- 小付文件上传下载系统

- 三层结构用户,角色,功能管理模块

- KissSite多功能博客V1.9

- ASP.NET经典案例源码之学生管..

- XML无刷新三级联动下拉DropD..

- 大众小说网Beta版全站项目源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号