📄 go_fckconfig.js
字号:
FCKConfig.SpellChecker = 'SpellerPages' ;FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/groupoffice/' ;FCKConfig.LinkBrowser=false;FCKConfig.LinkUpload=false;FCKConfig.ImageBrowser=false;FCKConfig.ImageUpload=false;FCKConfig.FlashUpload =false;FCKConfig.UseBROnCarriageReturn=true;FCKConfig.IEForceVScroll=true;FCKConfig.ToolbarSets["template"] = [
['Source','DocProps','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image', 'Table','Rule','SpecialChar','PageBreak','UniversalKey'],
'/',
['FontFormat','FontName','FontSize'], ['TextColor','BGColor'],['go_autodata']
] ;FCKConfig.ToolbarSets["ImageManager"] = [
['Source','DocProps','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['ImageManager', 'Table','Rule','SpecialChar','PageBreak','UniversalKey'],
'/',
['FontFormat','FontName','FontSize'], ['TextColor','BGColor'],['go_autodata']
] ;FCKConfig.ToolbarSets["email"] = [
['Source','DocProps','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Table','Rule','SpecialChar','PageBreak','UniversalKey'],
'/',
['FontFormat','FontName','FontSize'],
['TextColor','BGColor']
] ;var FCKPopupCommand = function( url, width, height )
{
this.url = url ; this.width = width ; this.height = height ;
}
FCKPopupCommand.prototype.Execute = function()
{
if(this.width > 0 && this.height > 0) {
var centered;
x = (screen.availWidth - this.width) / 2;
y = (screen.availHeight - this.height) / 2;
centered =',width=' + this.width + ',height=' + this.height + ',left=' + x + ',top=' + y + ',scrollbars=yes,resizable=yes,status=yes'; }else { centered = 'scrollbars=yes,resizable=yes,status=yes'; }
var popup = window.open(this.url, '_blank', centered);
if (!popup.opener) popup.opener = self;
popup.focus();
}
FCKPopupCommand.prototype.GetState = function()
{
return FCK_TRISTATE_OFF ;
}var FCKInsertHTMLCommand = function()
{
}
FCKInsertHTMLCommand.prototype.Execute = function(html)
{
FCK.InsertHtml(html);
}
FCKInsertHTMLCommand.prototype.GetState = function()
{
return FCK_TRISTATE_OFF ;
}FCKConfig.Plugins.Add( 'go_autodata', 'en');FCKConfig.Plugins.Add( 'ImageManager');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -