IDEMPIERE-563 HTML Editor for text fields / Include more items on the toolbar
This commit is contained in:
parent
df55f2e0cf
commit
52aababe24
|
@ -1,12 +1,17 @@
|
||||||
CKEDITOR.editorConfig = function(config) {
|
CKEDITOR.editorConfig = function(config) {
|
||||||
config.resize_enabled = false;
|
config.resize_enabled = false;
|
||||||
config.toolbar = 'MyToolbar';
|
config.toolbar = 'MyToolbar';
|
||||||
config.toolbar_MyToolbar = [
|
config.toolbar_MyToolbar =
|
||||||
[ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript',
|
[
|
||||||
'Superscript', 'TextColor', 'BGColor', '-', 'Cut', 'Copy',
|
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
|
||||||
'Paste', 'Link', 'Unlink' ],
|
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
||||||
[ 'Undo', 'Redo', '-', 'JustifyLeft', 'JustifyCenter',
|
{ name: 'tools', items : [ 'Maximize', '-','About' ] },
|
||||||
'JustifyRight', 'JustifyBlock' ],
|
{ name: 'clipboard', items : [ 'Undo','Redo' ] },
|
||||||
[ 'Table', 'Smiley', 'SpecialChar', 'PageBreak',
|
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll' ] },
|
||||||
'Styles', 'Format', 'Font', 'FontSize', 'Maximize'] ];
|
'/',
|
||||||
|
{ 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' ] }
|
||||||
|
];
|
||||||
};
|
};
|
Loading…
Reference in New Issue