From d75645c4bceb3ed6db2269f024d4107ebf8fefe2 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 28 Nov 2022 16:17:46 +0800 Subject: [PATCH] fix: remove the unnecessary text style update --- .../appflowy_editor/lib/src/render/rich_text/rich_text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/rich_text.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/rich_text.dart index f48714045b..b739211951 100644 --- a/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/rich_text.dart +++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/rich_text.dart @@ -72,7 +72,7 @@ class _RichTextNodeWidgetState extends State child: FlowyRichText( key: _richTextKey, textNode: widget.textNode, - textSpanDecorator: (textSpan) => textSpan.updateTextStyle(textStyle), + textSpanDecorator: (textSpan) => textSpan, placeholderTextSpanDecorator: (textSpan) => textSpan.updateTextStyle(textStyle), lineHeight: widget.editorState.editorStyle.lineHeight,