[GH-ISSUE #2217] [FR] Code block copy button on hover #907

Closed
opened 2026-03-23 20:42:55 +00:00 by mirror · 7 comments
Owner

Originally created by @ghzgod on GitHub (Apr 7, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2217

Description

Could we get a copy button when we hover over a code block? Thank you

Impact

Developers

Additional Context

No response

Originally created by @ghzgod on GitHub (Apr 7, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2217 ### Description Could we get a copy button when we hover over a code block? Thank you ### Impact Developers ### Additional Context _No response_
mirror 2026-03-23 20:42:55 +00:00
Author
Owner

@JRS296 commented on GitHub (Apr 8, 2023):

Hey @ghzgod, are you referring to a copy button on a left click over a component, or just over code blocks?

<!-- gh-comment-id:1500777019 --> @JRS296 commented on GitHub (Apr 8, 2023): Hey @ghzgod, are you referring to a copy button on a left click over a component, or just over code blocks?
Author
Owner

@hmncube commented on GitHub (May 11, 2023):

@annieappflowy @ghzgod Is this the possible solution you have in mind?

https://github.com/AppFlowy-IO/AppFlowy/assets/2725300/26dd7856-1575-452a-9a42-a9296ba89253

<!-- gh-comment-id:1543435223 --> @hmncube commented on GitHub (May 11, 2023): @annieappflowy @ghzgod Is this the possible solution you have in mind? https://github.com/AppFlowy-IO/AppFlowy/assets/2725300/26dd7856-1575-452a-9a42-a9296ba89253
Author
Owner

@annieappflowy commented on GitHub (May 11, 2023):

Hi guys, thanks for your contribution. In our design mockups, the interactions on the code block look like this:
image

<!-- gh-comment-id:1543524061 --> @annieappflowy commented on GitHub (May 11, 2023): Hi guys, thanks for your contribution. In our design mockups, the interactions on the code block look like this: <img width="272" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/12026239/913a866d-843f-4a32-a9d1-c968f675bbd1">
Author
Owner

@ghzgod commented on GitHub (May 11, 2023):

@annieappflowy @ghzgod Is this the possible solution you have in mind?

possible.sln.mov

Yes this exactly!

<!-- gh-comment-id:1543573497 --> @ghzgod commented on GitHub (May 11, 2023): > @annieappflowy @ghzgod Is this the possible solution you have in mind? > > possible.sln.mov Yes this exactly!
Author
Owner

@hmncube commented on GitHub (May 11, 2023):

Hi guys, thanks for your contribution. In our design mockups, the interactions on the code block look like this: image

@annieappflowy Instead of duplicate the text will be copy right?

<!-- gh-comment-id:1543602325 --> @hmncube commented on GitHub (May 11, 2023): > Hi guys, thanks for your contribution. In our design mockups, the interactions on the code block look like this: <img alt="image" width="272" src="https://user-images.githubusercontent.com/12026239/237614268-913a866d-843f-4a32-a9d1-c968f675bbd1.png"> @annieappflowy Instead of duplicate the text will be `copy` right?
Author
Owner

@annieappflowy commented on GitHub (Jul 11, 2023):

Thanks @ghzgod for confirming!

Will consider your suggestions. Thanks, @hmncube

<!-- gh-comment-id:1630881397 --> @annieappflowy commented on GitHub (Jul 11, 2023): Thanks @ghzgod for confirming! Will consider your suggestions. Thanks, @hmncube
Author
Owner

@annieappflowy commented on GitHub (Jul 11, 2023):

FYI: your request is supported. Please give it a try with the latest release.

<!-- gh-comment-id:1630883407 --> @annieappflowy commented on GitHub (Jul 11, 2023): FYI: your request is supported. Please give it a try with the [latest release](https://github.com/AppFlowy-IO/AppFlowy/releases).
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#907
No description provided.