This commit is contained in:
parent
ca04a675c0
commit
4f1473b392
1 changed files with 10 additions and 12 deletions
|
|
@ -32,20 +32,18 @@ class AutoExpandEditor extends StatelessWidget {
|
||||||
maxHeight: 360,
|
maxHeight: 360,
|
||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
),
|
),
|
||||||
child: SingleChildScrollView(
|
child: IntrinsicHeight(
|
||||||
child: IntrinsicHeight(
|
child: AppFlowyEditor(
|
||||||
child: AppFlowyEditor(
|
editorState: editorState,
|
||||||
|
shrinkWrap: true,
|
||||||
|
autoScrollEdgeOffset: 24,
|
||||||
|
editorStyle: const EditorStyle.desktop(
|
||||||
|
padding: EdgeInsets.symmetric(horizontal: 8),
|
||||||
|
),
|
||||||
|
blockComponentBuilders: _buildBlockComponentBuilders(),
|
||||||
|
editorScrollController: EditorScrollController(
|
||||||
editorState: editorState,
|
editorState: editorState,
|
||||||
disableAutoScroll: true,
|
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
editorStyle: const EditorStyle.desktop(
|
|
||||||
padding: EdgeInsets.symmetric(horizontal: 8),
|
|
||||||
),
|
|
||||||
blockComponentBuilders: _buildBlockComponentBuilders(),
|
|
||||||
editorScrollController: EditorScrollController(
|
|
||||||
editorState: editorState,
|
|
||||||
shrinkWrap: true,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue