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

fix(clipboard): try to fix clipboard issue #18999

Merged

Conversation

Nxtivision
Copy link
Contributor

Issue: #16642

What I did

I just added the property allow clipboard-write (according to the doc) on the iframe responsible to display the Source Code, so the user can copy.

How to test

I'm not sure how to test it. We need two storybook with composition using chromatic to see if it works or not. However, this small fix should not destroy all Storybook :)

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

Copy link
Contributor

@kylegach kylegach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @Nxtivision! Thanks for taking the time to fix this issue!

@Nxtivision
Copy link
Contributor Author

Hello !

Do you have an idea when this PR will be released ? 🙂

@ndelangen
Copy link
Member

Should be good to merge as-is!

Sorry for the late merge @Nxtivision , thanks again for contributing!

@Nxtivision
Copy link
Contributor Author

Hello,

Is it possible to cherry-pick this PR to the next patch version of 6.5 ? 😄 Because my team is not ready for v7 and we use a lot of referenced Storybook with Chromatic and Nx. Or a possible workaround until v7 is stable ?

have a nice day !

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

Successfully merging this pull request may close these issues.

3 participants