Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code block copy button (#433) #434

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

yzxh24
Copy link

@yzxh24 yzxh24 commented Oct 5, 2024

Added a copy button to the top right corner of the code block, click to copy all the code, like this:
image

Copy link

codecov bot commented Oct 5, 2024

Codecov Report

Attention: Patch coverage is 70.42254% with 21 lines in your changes missing coverage. Please review.

Project coverage is 87.93%. Comparing base (c391628) to head (e22e516).

Files with missing lines Patch % Lines
packages/fleather/lib/src/widgets/code_color.dart 60.86% 9 Missing ⚠️
.../fleather/lib/src/widgets/editable_text_block.dart 41.66% 7 Missing ⚠️
...fleather/lib/src/rendering/editable_text_line.dart 82.14% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
- Coverage   88.04%   87.93%   -0.11%     
==========================================
  Files          62       63       +1     
  Lines       10419    10486      +67     
==========================================
+ Hits         9173     9221      +48     
- Misses       1246     1265      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amantoux
Copy link
Member

amantoux commented Oct 5, 2024

@yzxh24 Thank you for the PR
Let us know when it is ready to be reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants