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

addon-storysource copy line numbers in chrome #18629

Closed
iriswang233 opened this issue Jul 5, 2022 · 1 comment
Closed

addon-storysource copy line numbers in chrome #18629

iriswang233 opened this issue Jul 5, 2022 · 1 comment
Labels

Comments

@iriswang233
Copy link

Describe the bug
When copying code from story tab in chrome and paste it in vs code, line numbers will be pasted too. This is not user friendly. However, when copying code from story tab in firefox and paste it in vs code, line numbers are not there. This should be the correct behaviour.
To Reproduce

  1. open https://backstage.io/storybook/?path=/story/layout-item-cards--styling in chrome
  2. open story tab
  3. copy several lines code
  4. paste in vs code file => Line numbers are pasted

image

System
chrome
Additional context
no

@shilman
Copy link
Member

shilman commented Aug 24, 2022

ZOMG!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.24 containing PR #18725 that references this issue. Upgrade today to the @future NPM tag to try it out!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there's still more to do.

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

No branches or pull requests

3 participants