Closed uier closed 1 year ago
I believe using the group
and group-hover
approach to display the button is a great solution to this problem.
By implementing this approach, the button will only appear when the user hovers over the code block, avoiding any potential blocking issues. This way, users can still easily copy the content by selecting the text directly, and will discover the button when they hover over the area, making the functionality easily accessible.
I would love to contribute to this feature, please let me know how I can help.
I have implemented this feature, see #87.
Expect to reserve the room for COPY button to avoid blocking the content