mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
feat: create a new grid from the document slash menu (#2051)
* feat: new grid from slash menu * feat: add translation strings * feat: add integration test * fix: analyzer errors
This commit is contained in:
parent
68fd5ffe67
commit
c6ffc0057c
5 changed files with 130 additions and 2 deletions
|
@ -20,6 +20,7 @@ import '../../startup/startup.dart';
|
|||
import 'application/doc_bloc.dart';
|
||||
import 'editor_styles.dart';
|
||||
import 'presentation/banner.dart';
|
||||
import 'presentation/plugins/grid/grid_view_menu_item.dart';
|
||||
import 'presentation/plugins/board/board_menu_item.dart';
|
||||
|
||||
class DocumentPage extends StatefulWidget {
|
||||
|
@ -177,6 +178,8 @@ class _AppFlowyEditorPageState extends State<_AppFlowyEditorPage> {
|
|||
boardViewMenuItem(documentBloc),
|
||||
// Grid
|
||||
gridMenuItem,
|
||||
// Create Grid
|
||||
gridViewMenuItem(documentBloc),
|
||||
// Callout
|
||||
calloutMenuItem,
|
||||
// AI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue