From e8bf70ab8ed6010a07b095b68c9f3453fa0e7ebf Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 22 Jun 2024 08:59:04 +0300 Subject: [PATCH] wysiwyg fullscreen codeview switch fix --- client/src/helpers/misc/summernote-custom.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/helpers/misc/summernote-custom.js b/client/src/helpers/misc/summernote-custom.js index d54d861235..1337d5a94a 100644 --- a/client/src/helpers/misc/summernote-custom.js +++ b/client/src/helpers/misc/summernote-custom.js @@ -431,6 +431,10 @@ function init(langSets) { $codable.removeClass('hidden'); + if ($editor.hasClass('fullscreen')) { + $codable.css('height', $editable.css('height')); + } + requireAce().then(() => { const html = prepareHtml($editable.html());