Skip to content

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

@amazingrando

Description

@amazingrando

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions