We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7977a2c commit d2405c6Copy full SHA for d2405c6
www/core/directives/richtexteditor.js
@@ -597,9 +597,13 @@ angular.module('mm.core')
597
598
// Undo resize.
599
function undoResize(editorEl, contentsEl) {
600
- angular.element(editorEl).css('height', '');
601
if (contentsEl) {
+ // RTE enabled.
602
+ angular.element(editorEl).css('height', '');
603
angular.element(contentsEl).css('height', editorInitialHeight + 'px');
604
+ } else {
605
+ // Textarea.
606
+ angular.element(editorEl).css('height', editorInitialHeight + 'px');
607
}
608
resized = false;
609
0 commit comments