2012-01-06 13:11:48 +00:00
|
|
|
|
/**
|
|
|
|
|
* CKEditor configuration for LAM
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
CKEDITOR.editorConfig = function( config ) {
|
|
|
|
|
|
|
|
|
|
/* reduced toolbar */
|
|
|
|
|
config.toolbar = 'LAM';
|
|
|
|
|
config.toolbar_LAM = [
|
|
|
|
|
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
|
|
|
|
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-',
|
|
|
|
|
'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
|
|
|
|
{ name: 'links', items : [ 'Link','Unlink' ] },
|
|
|
|
|
{ name: 'insert', items : [ 'Image','Table','HorizontalRule','SpecialChar','PageBreak','Iframe' ] },
|
|
|
|
|
'/',
|
|
|
|
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
|
|
|
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
|
|
|
|
{ name: 'document', items : [ 'Source','-','DocProps' ] },
|
|
|
|
|
{ name: 'clipboard', items : [ 'Undo','Redo' ] },
|
|
|
|
|
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks' ] },
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
/* style */
|
|
|
|
|
config.skin = 'office2003';
|
2012-01-25 20:05:08 +00:00
|
|
|
|
config.width = '70em';
|
2012-01-06 13:11:48 +00:00
|
|
|
|
config.height = 100;
|
|
|
|
|
|
|
|
|
|
/* no bottom bar */
|
|
|
|
|
config.removePlugins = 'elementspath';
|
|
|
|
|
config.resize_enabled = false;
|
|
|
|
|
|
|
|
|
|
};
|