瀏覽代碼

fix: checkbox placeholder error

Lucas.Xu 2 年之前
父節點
當前提交
3e256be0b9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart

+ 1 - 0
frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart

@@ -94,6 +94,7 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
                   placeholderText: 'To-do',
                   placeholderText: 'To-do',
                   textNode: widget.textNode,
                   textNode: widget.textNode,
                   textSpanDecorator: _textSpanDecorator,
                   textSpanDecorator: _textSpanDecorator,
+                  placeholderTextSpanDecorator: _textSpanDecorator,
                   editorState: widget.editorState,
                   editorState: widget.editorState,
                 ),
                 ),
               ),
               ),