|
@@ -63,13 +63,15 @@ class _HeadingTextNodeWidgetState extends State<HeadingTextNodeWidget>
|
|
|
top: topPadding,
|
|
|
bottom: bottomPadding,
|
|
|
),
|
|
|
- child: FlowyRichText(
|
|
|
- key: _richTextKey,
|
|
|
- placeholderText: 'Heading',
|
|
|
- placeholderTextSpanDecorator: _placeholderTextSpanDecorator,
|
|
|
- textSpanDecorator: _textSpanDecorator,
|
|
|
- textNode: widget.textNode,
|
|
|
- editorState: widget.editorState,
|
|
|
+ child: Expanded(
|
|
|
+ child: FlowyRichText(
|
|
|
+ key: _richTextKey,
|
|
|
+ placeholderText: 'Heading',
|
|
|
+ placeholderTextSpanDecorator: _placeholderTextSpanDecorator,
|
|
|
+ textSpanDecorator: _textSpanDecorator,
|
|
|
+ textNode: widget.textNode,
|
|
|
+ editorState: widget.editorState,
|
|
|
+ ),
|
|
|
),
|
|
|
)
|
|
|
],
|