Skip to content

Commit 893f322

Browse files
committed
Fix hiding tinymce elements
1 parent 1c56318 commit 893f322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/js/model.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ function hideColumns(t) {
547547
hide.split(',').forEach(function(hide) {
548548
$('LABEL[for=input_' + hide + ']').addClass('hiddenBySelect');
549549
$('#input_' + hide).addClass('hiddenBySelect');
550+
if ($('#input_' + hide).hasClass('tinymce')) {
551+
$('#input_' + hide + ' + .tox-tinymce').addClass('hiddenBySelect');
552+
}
550553
});
551554
}
552555
}

0 commit comments

Comments
 (0)