Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: customize the placeholder text style

Lucas.Xu3f97820094e4
diff --git a/frontend/app_flowy/lib/plugins/doc/editor_styles.dart b/frontend/app_flowy/lib/plugins/doc/editor_styles.dart
index bbc9275444..0c503e19cb 100644
--- a/frontend/app_flowy/lib/plugins/doc/editor_styles.dart
+++ b/frontend/app_flowy/lib/plugins/doc/editor_styles.dart
@@ -14,6 +14,10 @@ EditorStyle customEditorTheme(BuildContext context) {
fontFamily: 'poppins',
fontSize: _baseFontSize,
),
+ placeholderTextStyle: editorStyle.placeholderTextStyle?.copyWith(
+ fontFamily: 'poppins',
+ fontSize: _baseFontSize,
+ ),
bold: editorStyle.bold?.copyWith(
fontWeight: FontWeight.w500,
),