2010-05-21 13:51:40 +02:00
|
|
|
CKEDITOR.editorConfig = function( config )
|
|
|
|
{
|
|
|
|
|
|
|
|
config.toolbar_egw_simple = [
|
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Maximize'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_simple_spellcheck = [
|
2010-06-02 17:22:14 +02:00
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-06-02 17:22:14 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Maximize','SpellChecker'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_simple_aspell = [
|
2010-05-21 13:51:40 +02:00
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Maximize','SpellCheck'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
2010-06-02 17:22:14 +02:00
|
|
|
// config.toolbar_egw_simple.concat([
|
|
|
|
// '/',
|
|
|
|
// ['Format','Font','FontSize'],
|
|
|
|
// ['TextColor','BGColor'],
|
|
|
|
// ['ShowBlocks','-','About']
|
|
|
|
// ]);
|
|
|
|
|
2010-05-21 13:51:40 +02:00
|
|
|
config.toolbar_egw_extended = [
|
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Find','Replace'],
|
|
|
|
['Maximize','Image','Table'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_extended_spellcheck = [
|
2010-06-02 17:22:14 +02:00
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-06-02 17:22:14 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Find','Replace'],
|
|
|
|
['Maximize','SpellChecker','Image','Table'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_extended_aspell = [
|
2010-05-21 13:51:40 +02:00
|
|
|
['Bold','Italic','Underline'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','Outdent','Indent','Undo','Redo'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Find','Replace'],
|
|
|
|
['Maximize','SpellCheck','Image','Table'],
|
|
|
|
'/',
|
|
|
|
['Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_advanced = [
|
|
|
|
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],
|
|
|
|
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
|
|
|
'/',
|
|
|
|
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','-','Outdent','Indent'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Maximize','Image',/*'Flash',*/'Table','HorizontalRule',/*'Smiley',*/'SpecialChar','PageBreak'], //,'UniversalKey'
|
|
|
|
'/',
|
|
|
|
['Style','Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_advanced_spellcheck = [
|
2010-06-02 17:22:14 +02:00
|
|
|
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker'],
|
|
|
|
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
|
|
|
'/',
|
|
|
|
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','-','Outdent','Indent'],
|
2010-06-02 17:22:14 +02:00
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Maximize','Image',/*'Flash',*/'Table','HorizontalRule',/*'Smiley',*/'SpecialChar','PageBreak'], //,'UniversalKey'
|
|
|
|
'/',
|
|
|
|
['Style','Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
config.toolbar_egw_advanced_aspell = [
|
2010-05-21 13:51:40 +02:00
|
|
|
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
|
|
|
|
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellCheck'],
|
|
|
|
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
|
|
|
|
'/',
|
|
|
|
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
|
|
|
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
2010-06-07 11:21:51 +02:00
|
|
|
['BulletedList','NumberedList','-','Outdent','Indent'],
|
2010-05-21 13:51:40 +02:00
|
|
|
['Link','Unlink','Anchor'],
|
|
|
|
['Maximize','Image',/*'Flash',*/'Table','HorizontalRule',/*'Smiley',*/'SpecialChar','PageBreak'], //,'UniversalKey'
|
|
|
|
'/',
|
|
|
|
['Style','Format','Font','FontSize'],
|
|
|
|
['TextColor','BGColor'],
|
|
|
|
['ShowBlocks','-','About']
|
|
|
|
] ;
|
|
|
|
|
|
|
|
}
|