question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can toolbar addons appear on DocsPage Previews?

See original GitHub issue

Is your feature request related to a problem? Please describe. I’d like to be able to use toolbar addons, such as @storybook/addon-backgrounds, in conjunction with DocsPage as per the image shown here: https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/media/hero.png

<Preview withToolbar> currently only renders the default buttons for zooming and opening in a new window.

Describe the solution you’d like An example of how to configure the docs addon to display the @storybook/addon-backgrounds button

Are you able to assist bring the feature to reality? yes, I’d be happy to collaborate with someone to make this a reality

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
shilmancommented, Jul 29, 2020

@benedfit see #6700, hopefully in 6.x

1reaction
benedfitcommented, Apr 9, 2020

Looks like this is related to https://github.com/storybookjs/storybook/issues/6700. I assume there will be some refactoring required before it all works together?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Canvas - Storybook
Storybook's DocsPage wraps each story inside a Canvas Doc Block. The first story rendered in ... All other existing stories will not feature...
Read more >
@storybook/addon-toolbars | Yarn - Package Manager
The Toolbars addon controls global story rendering options from Storybook's toolbar UI. It's a general purpose addon that can be used to:.
Read more >
Hide Docs tab in Storybook - Stack Overflow
(mdx|ts)'], addons: ['@storybook/addon-docs', 'storybook-addon-preview'] };. However I don't want to have "Docs" tab next to "Canvas". How do I ...
Read more >
Allow or restrict add-ons in Docs editors - Google Support
You (and your users) can use add-ons in Google Docs, Sheets, Slides, and Forms to bring more functionality to files. For example, there...
Read more >
StorybookJS – Stories – PAKDB - Jesidea
You can browse the stories in the UI and see the code behind them in ... Or install Storybook toolbar addons from the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found