Fix cannot scroll editor when disable code view in composer
This commit is contained in:
@@ -246,6 +246,10 @@ class RichTextWebController extends GetxController {
|
||||
|
||||
if (codeViewEnabled) {
|
||||
formattingOptionsState.value = FormattingOptionsState.disabled;
|
||||
} else {
|
||||
editorController.evaluateJavascriptWeb(
|
||||
HtmlUtils.recalculateEditorHeight().name,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user