TF-105 Change composer library html-editor-enhanced to enough_html_editor support display email content better

This commit is contained in:
dab246
2021-10-06 17:03:07 +07:00
committed by Dat H. Pham
parent 1350f96f06
commit 8fb57725df
7 changed files with 64 additions and 62 deletions
@@ -2,7 +2,6 @@ import 'package:core/core.dart';
import 'package:core/presentation/utils/app_toast.dart';
import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
import 'package:html_editor_enhanced/html_editor.dart';
import 'package:tmail_ui_user/features/composer/data/datasource/autocomplete_datasource.dart';
import 'package:tmail_ui_user/features/composer/data/datasource/composer_datasource.dart';
import 'package:tmail_ui_user/features/composer/data/datasource/contact_datasource.dart';
@@ -53,7 +52,6 @@ class ComposerBindings extends Bindings {
Get.lazyPut<AutoCompleteRepository>(() => Get.find<AutoCompleteRepositoryImpl>());
Get.lazyPut(() => GetAutoCompleteInteractor(Get.find<AutoCompleteRepository>()));
Get.lazyPut(() => Uuid());
Get.lazyPut(() => HtmlEditorController());
Get.lazyPut(() => TextEditingController());
Get.lazyPut(() => ContactDataSourceImpl());
Get.lazyPut<ContactDataSource>(() => Get.find<ContactDataSourceImpl>());
@@ -74,7 +72,6 @@ class ComposerBindings extends Bindings {
Get.find<GetAutoCompleteWithDeviceContactInteractor>(),
Get.find<AppToast>(),
Get.find<Uuid>(),
Get.find<HtmlEditorController>(),
Get.find<TextEditingController>(),
Get.find<HtmlMessagePurifier>(),
Get.find<LocalFilePickerInteractor>(),