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

[BUG] In Storybook the file preview-head.html isn't added to the rendered story. #80

Open
amazingrando opened this issue Oct 25, 2024 · 0 comments

Comments

@amazingrando
Copy link
Contributor

amazingrando commented Oct 25, 2024

Describe the bug
When I create the file preview-head.html in $THEME/config/emulsify-core/storybook it should be added to all stories, however that isn't happening.

To Reproduce
Steps to reproduce the behavior:

  1. Install Emulsify Drupal (in a site or solo)
  2. Create $THEME/config/emulsify-core/storybook/preview-head.html with some code to place in the head.
  3. Run npm run develop
  4. Go to the site and inspect the story iframe and confirm your code isn't there.

Expected behavior
The code should be added to each story, per https://storybook.js.org/docs/configure/story-rendering#adding-to-head.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Any

┆Issue is synchronized with this Clickup task by Unito

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

No branches or pull requests

1 participant