Skip to content

feat(view): add a HOC that adds floating actions to code blocks#950

Merged
d3m1d0v merged 2 commits intomainfrom
view-codeblock-actions
Feb 18, 2026
Merged

feat(view): add a HOC that adds floating actions to code blocks#950
d3m1d0v merged 2 commits intomainfrom
view-codeblock-actions

Conversation

@d3m1d0v
Copy link
Member

@d3m1d0v d3m1d0v commented Feb 13, 2026

Added a HOC for <YfmStaticView /> component that adds floating controls to code blocks in the content:

  • copy button to copy text content of a code block
  • button to toggle text wrapping in a code block

@gravity-ui
Copy link

gravity-ui bot commented Feb 13, 2026

Storybook Deployed

@gravity-ui
Copy link

gravity-ui bot commented Feb 13, 2026

🎭 Playwright Report

@d3m1d0v d3m1d0v force-pushed the view-codeblock-actions branch from 712b5a8 to c94a90a Compare February 13, 2026 17:36
@d3m1d0v d3m1d0v force-pushed the view-codeblock-actions branch from c94a90a to c3040b3 Compare February 16, 2026 09:40
@d3m1d0v d3m1d0v marked this pull request as ready for review February 16, 2026 09:40
@d3m1d0v d3m1d0v requested a review from makhnatkin as a code owner February 16, 2026 09:40
@d3m1d0v d3m1d0v merged commit 57528f2 into main Feb 18, 2026
6 checks passed
@d3m1d0v d3m1d0v deleted the view-codeblock-actions branch February 18, 2026 08:37
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

Comments