Hotfix identity creator view bug
(cherry picked from commit 5094fd43dd37816590dec476cfc73c58b80b6c70)
This commit is contained in:
@@ -472,10 +472,16 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController>
|
|||||||
),
|
),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
_buildHtmlEditorWeb(
|
ConstrainedBox(
|
||||||
|
constraints: BoxConstraints(
|
||||||
|
maxWidth: maxWidth,
|
||||||
|
maxHeight: 300,
|
||||||
|
),
|
||||||
|
child: _buildHtmlEditorWeb(
|
||||||
context,
|
context,
|
||||||
controller.contentHtmlEditor,
|
controller.contentHtmlEditor,
|
||||||
maxWidth),
|
maxWidth),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -477,7 +477,9 @@ class VacationView extends GetWidget<VacationController> with RichTextButtonMixi
|
|||||||
|
|
||||||
Widget _buildMessageHtmlTextEditor(BuildContext context) {
|
Widget _buildMessageHtmlTextEditor(BuildContext context) {
|
||||||
if (PlatformInfo.isWeb) {
|
if (PlatformInfo.isWeb) {
|
||||||
return html_editor_browser.HtmlEditor(
|
return ConstrainedBox(
|
||||||
|
constraints: const BoxConstraints(maxHeight: 300),
|
||||||
|
child: html_editor_browser.HtmlEditor(
|
||||||
key: const Key('vacation_message_html_text_editor_web'),
|
key: const Key('vacation_message_html_text_editor_web'),
|
||||||
controller: controller.richTextControllerForWeb.editorController,
|
controller: controller.richTextControllerForWeb.editorController,
|
||||||
htmlEditorOptions: html_editor_browser.HtmlEditorOptions(
|
htmlEditorOptions: html_editor_browser.HtmlEditorOptions(
|
||||||
@@ -502,6 +504,7 @@ class VacationView extends GetWidget<VacationController> with RichTextButtonMixi
|
|||||||
controller.richTextControllerForWeb.closeAllMenuPopup();
|
controller.richTextControllerForWeb.closeAllMenuPopup();
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return HtmlEditor(
|
return HtmlEditor(
|
||||||
|
|||||||
Reference in New Issue
Block a user