mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 15:17:28 -04:00
feat: support creating subpage block in row detail page (#6824)
* feat: support creating subpage block in row detail page * feat: hide the row page from sidebar * test: support creating a sub-page block in row detail page * fix: update drag block logic * feat: support toggle heading in outline * test: add toggle headings show in outline block test * fix: unable to get focus when opening subpage from card
This commit is contained in:
parent
df7fe9750d
commit
c24b68481d
15 changed files with 298 additions and 143 deletions
|
@ -164,9 +164,7 @@ class _DocumentPageState extends State<DocumentPage>
|
|||
create: (_) {
|
||||
final context = SharedEditorContext();
|
||||
if (widget.view.name.isEmpty) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
context.coverTitleFocusNode.requestFocus();
|
||||
});
|
||||
context.requestCoverTitleFocus = true;
|
||||
}
|
||||
return context;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue