From a5c0fd785f7beb9bcd20e906b3af477bebe19f98 Mon Sep 17 00:00:00 2001 From: HuyNguyen Date: Wed, 15 Mar 2023 09:58:35 +0700 Subject: [PATCH] TF1473: Fixed cursor of typing when insert a image (cherry picked from commit e747c8951ab6557eeb6da648d30e455c151c8d40) --- .../presentation/controller/rich_text_web_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/composer/presentation/controller/rich_text_web_controller.dart b/lib/features/composer/presentation/controller/rich_text_web_controller.dart index e6ccb54e5..fa507b613 100644 --- a/lib/features/composer/presentation/controller/rich_text_web_controller.dart +++ b/lib/features/composer/presentation/controller/rich_text_web_controller.dart @@ -145,7 +145,7 @@ class RichTextWebController extends BaseRichTextController { if (image.source == ImageSource.network) { editorController.insertNetworkImage(image.link!); } else { - editorController.insertHtml(image.base64Uri ?? ''); + editorController.insertHtml("
${image.base64Uri ?? ''}

"); } }