From e2673473c5a53d918183259dcf0831b9f0c3d6c8 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 22 Jun 2024 09:09:42 +0300 Subject: [PATCH] wysiwyg codeview not limited height --- client/src/helpers/misc/summernote-custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/helpers/misc/summernote-custom.js b/client/src/helpers/misc/summernote-custom.js index 1337d5a94a..4f2d292406 100644 --- a/client/src/helpers/misc/summernote-custom.js +++ b/client/src/helpers/misc/summernote-custom.js @@ -443,7 +443,7 @@ function init(langSets) { aceEditor.setValue(html); aceEditor.setOptions({ - maxLines: !$editor.hasClass('fullscreen') ? 34: null, + maxLines: !$editor.hasClass('fullscreen') ? 100000: null, enableLiveAutocompletion: true, tabSize: 2, useSoftTabs: true, @@ -941,7 +941,7 @@ function init(langSets) { this._isFullscreen = false; if (aceEditor) { - aceEditor.setOptions({maxLines: maxLines}); + aceEditor.setOptions({maxLines: 100000}); aceEditor.resize(); } }