فهرست منبع

feat: customize the placeholder text style

Lucas.Xu 2 سال پیش
والد
کامیت
3f97820094
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      frontend/app_flowy/lib/plugins/doc/editor_styles.dart

+ 4 - 0
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,
     ),