mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +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(
|
child: FlowyRichText(
|
||||||
key: _richTextKey,
|
key: _richTextKey,
|
||||||
textNode: widget.textNode,
|
textNode: widget.textNode,
|
||||||
textSpanDecorator: (textSpan) => textSpan.updateTextStyle(textStyle),
|
textSpanDecorator: (textSpan) => textSpan,
|
||||||
placeholderTextSpanDecorator: (textSpan) =>
|
placeholderTextSpanDecorator: (textSpan) =>
|
||||||
textSpan.updateTextStyle(textStyle),
|
textSpan.updateTextStyle(textStyle),
|
||||||
lineHeight: widget.editorState.editorStyle.lineHeight,
|
lineHeight: widget.editorState.editorStyle.lineHeight,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue