diff --git a/lib/features/composer/presentation/composer_controller.dart b/lib/features/composer/presentation/composer_controller.dart index a60d59543..fa726c8a4 100644 --- a/lib/features/composer/presentation/composer_controller.dart +++ b/lib/features/composer/presentation/composer_controller.dart @@ -1722,7 +1722,10 @@ class ComposerController extends BaseController Future applySignature(String signature) async { if (PlatformInfo.isWeb) { - richTextWebController?.editorController.insertSignature(signature); + richTextWebController?.editorController.insertSignature( + signature, + allowCollapsed: false, + ); } else { await htmlEditorApi?.insertSignature(signature, allowCollapsed: false); } diff --git a/pubspec.lock b/pubspec.lock index 7e06994d3..e42f22b40 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1268,10 +1268,10 @@ packages: description: path: "." ref: main - resolved-ref: "05f78b3e2d4535ade646667db5d5602234fe7b5e" + resolved-ref: "60d1b2bdde51bab63551fefd8891b2c9e66e5ee8" url: "https://github.com/linagora/html-editor-enhanced.git" source: git - version: "3.2.3" + version: "3.2.4" html_unescape: dependency: transitive description: