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
@@ -139,6 +139,8 @@ class _WebEditorState extends State<WebEditorWidget> {
),
spellCheck: true,
disableDragAndDrop: true,
normalizeHtmlTextWhenDropping: true,
normalizeHtmlTextWhenPasting: true,
webInitialScripts: UnmodifiableListView([
WebScript(
name: HtmlUtils.lineHeight100Percent.name,