wysiwyg fullscreen codeview switch fix

This commit is contained in:
Yuri Kuznetsov
2024-06-22 08:59:04 +03:00
parent f459d5811d
commit e8bf70ab8e
@@ -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());