Skip to content

Add code block copy button (#433)#434

Open
yzxh24 wants to merge 5 commits into
fleather-editor:masterfrom
yzxh24:master
Open

Add code block copy button (#433)#434
yzxh24 wants to merge 5 commits into
fleather-editor:masterfrom
yzxh24:master

Conversation

@yzxh24

@yzxh24 yzxh24 commented Oct 5, 2024

Copy link
Copy Markdown

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

@codecov

codecov Bot commented Oct 5, 2024

Copy link
Copy Markdown

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

amantoux commented Oct 5, 2024

Copy link
Copy Markdown
Member

@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