From 900b6906fb9ed57a9dcde26465289355f02d2a2e Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Sun, 8 Dec 2024 22:29:35 +0300 Subject: [PATCH] Issue #3460610: Switch from original to large for default view mode when resizing --- js/varbase-editor.ckeditor5.media-image.admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/varbase-editor.ckeditor5.media-image.admin.js b/js/varbase-editor.ckeditor5.media-image.admin.js index f776e0a..0720bab 100644 --- a/js/varbase-editor.ckeditor5.media-image.admin.js +++ b/js/varbase-editor.ckeditor5.media-image.admin.js @@ -28,7 +28,7 @@ // Ensure that the commands are executed only once. if (resizeCommand.value == null) { // Execute commands. - viewModeCommand.execute({ value: 'original', group: 'viewMode' }); + viewModeCommand.execute({ value: 'large', group: 'viewMode' }); resizeCommand.execute({ width: '50%' }); } } -- GitLab