mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-23 00:59:06 +00:00
fix: remove the unnecessary text style update
This commit is contained in:
parent
6d6e61956a
commit
d75645c4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class _RichTextNodeWidgetState extends State<RichTextNodeWidget>
|
|||
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue