From d29d3c3a9fa98ec46cf86e7d86514583e01ff1fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Oct 2024 16:26:22 +0200 Subject: [PATCH] Remove shortcut ctr-Z ctr-y to undo/redo from toolbar --- htdocs/theme/eldy/ckeditor/config.js | 4 ++-- htdocs/theme/md/ckeditor/config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/theme/eldy/ckeditor/config.js b/htdocs/theme/eldy/ckeditor/config.js index ac13bea9645..d6d07c8171a 100644 --- a/htdocs/theme/eldy/ckeditor/config.js +++ b/htdocs/theme/eldy/ckeditor/config.js @@ -59,7 +59,7 @@ CKEDITOR.editorConfig = function( config ) [ ['Maximize','Preview'], ['SpellChecker', 'Scayt'], - ['Undo','Redo','-','Find','Replace'], + ['Find','Replace'], ['CreateDiv','ShowBlocks'], ['Format','Font','FontSize'], ['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], @@ -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 - ['Undo','Redo','-','Find','Replace'], + ['Find','Replace'], ['Font','FontSize'], ['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], ['NumberedList','BulletedList','Outdent','Indent'], diff --git a/htdocs/theme/md/ckeditor/config.js b/htdocs/theme/md/ckeditor/config.js index 26995270872..a6c474f6301 100644 --- a/htdocs/theme/md/ckeditor/config.js +++ b/htdocs/theme/md/ckeditor/config.js @@ -58,7 +58,7 @@ CKEDITOR.editorConfig = function( config ) [ ['Maximize','Preview'], ['SpellChecker', 'Scayt'], - ['Undo','Redo','-','Find','Replace'], + ['Find','Replace'], ['CreateDiv','ShowBlocks'], ['Format','Font','FontSize'], ['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], @@ -73,7 +73,7 @@ CKEDITOR.editorConfig = function( config ) [ ['Maximize'], ['SpellChecker', 'Scayt'], // 'Cut','Copy','Paste','-', are useless, can be done with right click, even on smarpthone - ['Undo','Redo','-','Find','Replace'], + ['Find','Replace'], ['Format','Font','FontSize'], ['Bold','Italic','Underline','Strike','-','TextColor','RemoveFormat'], ['NumberedList','BulletedList','Outdent','Indent'],