diff --git a/lib/features/composer/presentation/composer_controller.dart b/lib/features/composer/presentation/composer_controller.dart index 5ea925730..c8f39b7db 100644 --- a/lib/features/composer/presentation/composer_controller.dart +++ b/lib/features/composer/presentation/composer_controller.dart @@ -1571,7 +1571,7 @@ class ComposerController extends BaseController with DragDropFileMixin { if (PlatformInfo.isWeb) { richTextWebController.editorController.insertSignature(signature); } else { - await htmlEditorApi?.insertSignature(signature); + await htmlEditorApi?.insertSignature(signature, allowCollapsed: false); } } diff --git a/pubspec.lock b/pubspec.lock index 7d5ccb764..4c98d8251 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -425,11 +425,11 @@ packages: source: path version: "1.0.0+1" enough_html_editor: - dependency: transitive + dependency: "direct overridden" description: path: "." - ref: email_supported - resolved-ref: f13a35eb76fafb2ee1e686ca19c4c742d0efa78a + ref: "improve/allow-enable-disable-colllapsed-signature" + resolved-ref: b0038f647bf90ba40bf21efe7290a22dec4d2867 url: "https://github.com/linagora/enough_html_editor.git" source: git version: "0.0.5"