TF-4142 Close link overlay when click email content view
This commit is contained in:
@@ -325,6 +325,12 @@ class RichTextWebController extends GetxController {
|
||||
|
||||
bool get isFormattingOptionsEnabled => formattingOptionsState.value == FormattingOptionsState.enabled;
|
||||
|
||||
void openInsertLink() {
|
||||
FocusManager.instance.primaryFocus?.unfocus();
|
||||
editorController.setFocus();
|
||||
editorController.openInsertLinkDialog();
|
||||
}
|
||||
|
||||
@override
|
||||
void onClose() {
|
||||
menuParagraphController.dispose();
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
||||
|
||||
extension HandleInsertLinkComposerExtension on ComposerController {
|
||||
void openInsertLink() {
|
||||
richTextWebController?.editorController.openInsertLinkDialog();
|
||||
richTextWebController?.openInsertLink();
|
||||
}
|
||||
|
||||
LinkOverlayOptions createLinkOverlayOptions(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user