TF-3918 Fix line-height is auto changed when copy/paste or drag/drop from odt file

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-08-18 13:29:18 +07:00
committed by Dat H. Pham
parent b7cd3f7179
commit 6820ad147c
3 changed files with 6 additions and 0 deletions
@@ -152,6 +152,8 @@ class IdentitySignatureInputFieldWidget extends StatelessWidget {
initialText: initContent.isEmpty ? null : initContent,
disableDragAndDrop: true,
spellCheck: true,
normalizeHtmlTextWhenDropping: true,
normalizeHtmlTextWhenPasting: true,
customBodyCssStyle: HtmlUtils.customInlineBodyCssStyleHtmlEditor(
direction: AppUtils.getCurrentDirection(context),
),