Index: openacs-4/packages/xowiki/www/resources/ck_config.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/ck_config.js,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/xowiki/www/resources/ck_config.js 13 Sep 2012 16:05:39 -0000 1.3 @@ -0,0 +1,70 @@ + +CKEDITOR.editorConfig = function( config ) +{ + config.width = '95%'; + + config.autoParagraph = false; + config.toolbar_Page = + [ + ['Cut','Copy','Paste','PasteText','PasteFromWord'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], + ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], + ['Timestamp', 'xowikiImage','Table','HorizontalRule'], + ['Link','Unlink','Anchor'], + ['Styles','Format','TextColor','BGColor'], + ['Maximize', 'ShowBlocks','Source'] + ]; + config.toolbar_GapText = + [ + ['Gap'], + ['Cut','Copy','Paste','PasteText','PasteFromWord'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], + ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], + ['xowikiImage','Table','HorizontalRule'], + ['Link','Unlink','Anchor'], + ['Styles','Format','TextColor','BGColor'], + ['Maximize', 'ShowBlocks','Source','About'] + ]; + config.toolbar_Xoqt = + [ + ['interactions'], + ['Cut','Copy','Paste','PasteText','PasteFromWord'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], + ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], + ['xowikiImage','Table','HorizontalRule'], + ['Link','Unlink','Anchor'], + ['Styles','Format','TextColor','BGColor'], + ['Maximize', 'ShowBlocks','Source','About'] + ]; + config.toolbar_Basic = + [ + ['Source'], + ['Bold'], + ['Italic'], + ]; + config.toolbar_Full = + [ + ['Source','-','Save','NewPage','Preview','-','Templates'], + ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], + '/', + ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], + ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], + ['BidiLtr', 'BidiRtl'], + ['Link','Unlink','Anchor'], + ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'], + '/', + ['Styles','Format','Font','FontSize'], + ['TextColor','BGColor'], + ['Maximize', 'ShowBlocks','-','About'] + ]; + +};