📄 fckplugin.js
字号:
// Register the related command.
// RegisterCommand takes the following arguments: CommandName, DialogCommand
// FCKDialogCommand takes the following arguments: CommandName, Dialog Title, Path to HTML file, Width, Height
FCKCommands.RegisterCommand( 'OpenWord', new FCKDialogCommand( 'OpenWord', FCKLang.OpenWordDlgTitle,
FCKPlugins.Items['OpenWord'].Path + 'openword.html', 340, 250 ) ) ;
// Create the toolbar button.
// FCKToolbarButton takes the following arguments: CommandName, Button Caption
var oOpenWordItem = new FCKToolbarButton( 'OpenWord', FCKLang.OpenWord ) ;
oOpenWordItem.IconPath = FCKPlugins.Items['OpenWord'].Path + 'word.gif' ;
FCKToolbarItems.RegisterItem( 'OpenWord', oOpenWordItem ) ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -