Works on ckeditor integration
This commit is contained in:
parent
e6ddc8bd71
commit
4c36a9be36
@ -40,6 +40,7 @@ class DolEditor
|
|||||||
// If not using fckeditor
|
// If not using fckeditor
|
||||||
var $content;
|
var $content;
|
||||||
var $htmlname;
|
var $htmlname;
|
||||||
|
var $toolbarname;
|
||||||
var $rows;
|
var $rows;
|
||||||
var $cols;
|
var $cols;
|
||||||
var $height;
|
var $height;
|
||||||
@ -110,12 +111,13 @@ class DolEditor
|
|||||||
|
|
||||||
if (in_array($this->tool,array('textarea','ckeditor')))
|
if (in_array($this->tool,array('textarea','ckeditor')))
|
||||||
{
|
{
|
||||||
$this->content = $content;
|
$this->content = $content;
|
||||||
$this->htmlname = $htmlname;
|
$this->htmlname = $htmlname;
|
||||||
$this->rows = max(ROWS_3,$rows);
|
$this->toolbarname = $toolbarname;
|
||||||
$this->cols = max(40,$cols);
|
$this->rows = max(ROWS_3,$rows);
|
||||||
$this->height = $height;
|
$this->cols = max(40,$cols);
|
||||||
$this->width = 600;
|
$this->height = $height;
|
||||||
|
$this->width = 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -145,11 +147,19 @@ class DolEditor
|
|||||||
{
|
{
|
||||||
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
||||||
|
|
||||||
print '<script type="text/javascript">';
|
print '<script type="text/javascript">
|
||||||
print 'jQuery(document).ready(function () {';
|
jQuery(document).ready(function () {
|
||||||
print 'CKEDITOR.replace(\''.$this->htmlname.'\', { toolbar: \'Basic\', width: '.$this->width.', height: '.$this->height.', toolbarStartupExpanded: false });';
|
CKEDITOR.replace(\''.$this->htmlname.'\',
|
||||||
print '});';
|
{
|
||||||
print '</script>';
|
customConfig : \''.DOL_URL_ROOT.'/theme/'.$conf->theme.'/ckeditor/config.js\',
|
||||||
|
toolbar: \''.$this->toolbarname.'\',
|
||||||
|
//width: '.$this->width.',
|
||||||
|
height: '.$this->height.',
|
||||||
|
toolbarStartupExpanded: false
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
65
htdocs/theme/auguria/ckeditor/config.js
Normal file
65
htdocs/theme/auguria/ckeditor/config.js
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
CKEDITOR.editorConfig = function( config )
|
||||||
|
{
|
||||||
|
// Define changes to default configuration here.
|
||||||
|
// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
|
||||||
|
|
||||||
|
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']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_mailings =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_notes =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_details =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','-','Preview'],
|
||||||
|
['Undo','Redo'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
};
|
||||||
65
htdocs/theme/bureau2crea/ckeditor/config.js
Normal file
65
htdocs/theme/bureau2crea/ckeditor/config.js
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
CKEDITOR.editorConfig = function( config )
|
||||||
|
{
|
||||||
|
// Define changes to default configuration here.
|
||||||
|
// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
|
||||||
|
|
||||||
|
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']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_mailings =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_notes =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_details =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','-','Preview'],
|
||||||
|
['Undo','Redo'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
};
|
||||||
65
htdocs/theme/eldy/ckeditor/config.js
Normal file
65
htdocs/theme/eldy/ckeditor/config.js
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
CKEDITOR.editorConfig = function( config )
|
||||||
|
{
|
||||||
|
// Define changes to default configuration here.
|
||||||
|
// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
|
||||||
|
|
||||||
|
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']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_mailings =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_notes =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_details =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','-','Preview'],
|
||||||
|
['Undo','Redo'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
};
|
||||||
65
htdocs/theme/freelug/ckeditor/config.js
Normal file
65
htdocs/theme/freelug/ckeditor/config.js
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
CKEDITOR.editorConfig = function( config )
|
||||||
|
{
|
||||||
|
// Define changes to default configuration here.
|
||||||
|
// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
|
||||||
|
|
||||||
|
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']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_mailings =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_notes =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_details =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','-','Preview'],
|
||||||
|
['Undo','Redo'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
};
|
||||||
65
htdocs/theme/yellow/ckeditor/config.js
Normal file
65
htdocs/theme/yellow/ckeditor/config.js
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
||||||
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
CKEDITOR.editorConfig = function( config )
|
||||||
|
{
|
||||||
|
// Define changes to default configuration here.
|
||||||
|
// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
|
||||||
|
|
||||||
|
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']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_mailings =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_notes =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','-','Preview','Print'],
|
||||||
|
['Undo','Redo','-','Find','Replace','-','SelectAll'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['Link','Unlink','Anchor','Image','Table','Rule','SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
|
||||||
|
config.toolbar_dolibarr_details =
|
||||||
|
[
|
||||||
|
['FitWindow','Source'],
|
||||||
|
['Cut','Copy','Paste','-','Preview'],
|
||||||
|
['Undo','Redo'],
|
||||||
|
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','TextColor','BGColor','-','RemoveFormat'],
|
||||||
|
['OrderedList','UnorderedList','-','Outdent','Indent'],
|
||||||
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
|
||||||
|
['SpecialChar'],
|
||||||
|
['FontName','FontSize']
|
||||||
|
];
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user