Clean setup of ckeditor

This commit is contained in:
Laurent Destailleur 2024-10-26 16:40:40 +02:00
parent d29d3c3a9f
commit 3d49587253
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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'],

View File

@ -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'],