mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added elogsubmit plugin
SVN revision: 1906
This commit is contained in:
parent
62ba1a8bbf
commit
57792947ef
@ -2,8 +2,11 @@
|
|||||||
* ELOG specific FCKedit configuration
|
* ELOG specific FCKedit configuration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/';
|
||||||
|
FCKConfig.Plugins.Add('elog', null);
|
||||||
|
|
||||||
FCKConfig.ToolbarSets["Default"] = [
|
FCKConfig.ToolbarSets["Default"] = [
|
||||||
['Source','FitWindow','-','Save','Preview'],
|
['Source','FitWindow','-','ELOGSubmit','Preview'],
|
||||||
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
|
||||||
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
||||||
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
|
||||||
@ -32,7 +35,8 @@ FCKConfig.Keystrokes = [
|
|||||||
[ CTRL + 85 /*U*/, 'Underline' ],
|
[ CTRL + 85 /*U*/, 'Underline' ],
|
||||||
[ CTRL + 83 /*S*/, 'Save' ],
|
[ CTRL + 83 /*S*/, 'Save' ],
|
||||||
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
[ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ],
|
||||||
|
[ CTRL + 13 /*ENTER*/, 'ELOGSubmit' ],
|
||||||
[ CTRL + 9 /*TAB*/, 'Source' ]
|
[ CTRL + 9 /*TAB*/, 'Source' ]
|
||||||
] ;
|
] ;
|
||||||
|
|
||||||
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
|
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','BulletedList','NumberedList','Table'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user