TF-3671 Fix all composer interaction are blocked without network (#3682)

This commit is contained in:
Dat Vu
2025-05-08 12:50:07 +07:00
committed by GitHub
parent 1615f8be4d
commit d5946542e0
7 changed files with 37 additions and 6 deletions
@@ -119,6 +119,7 @@ class _WebEditorState extends State<WebEditorWidget> {
shouldEnsureVisible: true,
hint: '',
darkMode: false,
cacheHTMLAssetOffline: true,
initialText: widget.content,
customBodyCssStyle: HtmlUtils.customCssStyleHtmlEditor(
direction: widget.direction,
@@ -504,6 +504,7 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController>
shouldEnsureVisible: true,
hint: '',
darkMode: false,
cacheHTMLAssetOffline: true,
initialText: initContent.isEmpty ? null : initContent,
disableDragAndDrop: true,
spellCheck: true,
@@ -480,6 +480,7 @@ class VacationView extends GetWidget<VacationController> with RichTextButtonMixi
htmlEditorOptions: html_editor_browser.HtmlEditorOptions(
hint: '',
darkMode: false,
cacheHTMLAssetOffline: true,
initialText: controller.vacationMessageHtmlText,
spellCheck: true,
customBodyCssStyle: HtmlUtils.customCssStyleHtmlEditor(direction: AppUtils.getCurrentDirection(context))