core-jgi/org.adempiere.ui.zk/js/ckeditor/config.js

18 lines
880 B
JavaScript

CKEDITOR.editorConfig = function(config) {
config.resize_enabled = false;
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ 'Maximize', '-','About' ] },
{ name: 'clipboard', items : [ 'Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll' ] },
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
{ name: 'links', items : [ 'Link','Unlink' ] },
{ name: 'insert', items : [ 'Image','Table','HorizontalRule','SpecialChar' ] }
];
};