Skip to content

Commit

Permalink
fix: headingBlockComponentBuilder doesn't use placeholderTextStyle (#677
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LucasXu0 authored Jan 15, 2024
1 parent 71521ca commit f5f1535
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ class _HeadingBlockComponentWidgetState
},
placeholderText: placeholderText,
placeholderTextSpanDecorator: (textSpan) => textSpan
.updateTextStyle(
placeholderTextStyle,
)
.updateTextStyle(
widget.textStyleBuilder?.call(level) ??
defaultTextStyle(level),
)
.updateTextStyle(
placeholderTextStyle,
),
textDirection: textDirection,
cursorColor: editorState.editorStyle.cursorColor,
Expand Down

0 comments on commit f5f1535

Please sign in to comment.