Skip to content

Commit 3f97820

Browse files
committed
feat: customize the placeholder text style
1 parent e7adc3b commit 3f97820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/app_flowy/lib/plugins/doc/editor_styles.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ EditorStyle customEditorTheme(BuildContext context) {
1414
fontFamily: 'poppins',
1515
fontSize: _baseFontSize,
1616
),
17+
placeholderTextStyle: editorStyle.placeholderTextStyle?.copyWith(
18+
fontFamily: 'poppins',
19+
fontSize: _baseFontSize,
20+
),
1721
bold: editorStyle.bold?.copyWith(
1822
fontWeight: FontWeight.w500,
1923
),

0 commit comments

Comments
 (0)