Skip to content

Commit 5da8144

Browse files
committed
chore: show url cell editor when tap on edit button
1 parent 7ff841c commit 5da8144

File tree

1 file changed

+4
-1
lines changed
  • frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/cell/url_cell

1 file changed

+4
-1
lines changed

frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/cell/url_cell/url_cell.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ class _GridURLCellState extends State<GridURLCell> {
7272

7373
return CellEnterRegion(
7474
child: Align(alignment: Alignment.centerLeft, child: richText),
75-
expander: _EditCellIndicator(onTap: () {}),
75+
expander: _EditCellIndicator(onTap: () {
76+
final cellContext = widget.cellContextBuilder.build() as GridURLCellContext;
77+
URLCellEditor.show(context, cellContext);
78+
}),
7679
);
7780
},
7881
),

0 commit comments

Comments
 (0)