diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart index 704f9ddcbe..6fe0710dfe 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/file/file_block_component.dart @@ -186,7 +186,10 @@ class FileBlockComponentState extends State behavior: HitTestBehavior.translucent, onTap: url != null && url.isNotEmpty ? () => afLaunchUrlString(url) - : controller.show, + : () { + controller.show(); + dropManagerState.add(FileBlockKeys.type); + }, child: DecoratedBox( decoration: BoxDecoration( color: isHovering