mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean setup of ckeditor
This commit is contained in:
parent
d29d3c3a9f
commit
3d49587253
|
|
@ -230,7 +230,7 @@ if (empty($conf->use_javascript_ajax)) {
|
|||
//show_skin(null, 1);
|
||||
//print '<br>'."\n";
|
||||
|
||||
$listofmodes = array('dolibarr_mailings', 'dolibarr_notes', 'dolibarr_details', 'dolibarr_readonly', 'Full', 'Full_inline');
|
||||
$listofmodes = array('dolibarr_readonly', 'dolibarr_details', 'dolibarr_notes', 'dolibarr_mailings', 'Full', 'Full_inline');
|
||||
$linkstomode = '';
|
||||
foreach ($listofmodes as $newmode) {
|
||||
if ($linkstomode) {
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ CKEDITOR.editorConfig = function( config )
|
|||
['Maximize'],
|
||||
['SpellChecker', 'Scayt'], // 'Cut','Copy','Paste','-', are useless, can be done with right click, even on smarpthone
|
||||
['Find','Replace'],
|
||||
['Font','FontSize'],
|
||||
['Format','FontSize'],
|
||||
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
|
||||
['NumberedList','BulletedList','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ CKEDITOR.editorConfig = function( config )
|
|||
['Maximize'],
|
||||
['SpellChecker', 'Scayt'], // 'Cut','Copy','Paste','-', are useless, can be done with right click, even on smarpthone
|
||||
['Find','Replace'],
|
||||
['Format','Font','FontSize'],
|
||||
['Format','FontSize'],
|
||||
['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'],
|
||||
['NumberedList','BulletedList','Outdent','Indent'],
|
||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user