[GH-ISSUE #7864] [FR] Show 'AI' buttons for selection that includes a 'code snippet' block #3448

Open
opened 2026-03-23 21:30:16 +00:00 by mirror · 0 comments
Owner

Originally created by @kappafon on GitHub (Apr 30, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7864

Description

I'd like to see the 'Ask AI anything...' button when my selection includes code snippet blocks.
At the moment if I have any code snippet it only shows this:

Image

And if my selection does not include a code snippet I get the 'Ask AI...' button

Image

Impact

This would be great where you can select a part of the document that has code snippets or even Ctrl + A and ask AI to summarize the whole thing, make it more coherent, improve formatting, etc. Now this is not possible unless your selection doesn't include a code snippet.

Additional Context

No response

Originally created by @kappafon on GitHub (Apr 30, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7864 ### Description I'd like to see the 'Ask AI anything...' button when my selection includes code snippet blocks. At the moment if I have any code snippet it only shows this: ![Image](https://github.com/user-attachments/assets/dd2d1d22-4b9d-42c9-a51d-089eaf06f760) And if my selection does not include a code snippet I get the 'Ask AI...' button ![Image](https://github.com/user-attachments/assets/4269c256-793b-4916-9474-c14dfd58df5f) ### Impact This would be great where you can select a part of the document that has code snippets or even Ctrl + A and ask AI to summarize the whole thing, make it more coherent, improve formatting, etc. Now this is not possible unless your selection doesn't include a code snippet. ### Additional Context _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3448
No description provided.