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.

Give preset the ability to inject content in preview/manager head

See original GitHub issue

Is your feature request related to a problem? Please describe. To use storybook in multiple projects for my environment, I need to inject custom tags in head (mostly scripts tags with company wide shared libraries).

Describe the solution you’d like To make it easy for everyone to use it I thought about creating a preset for that (and other needed customization).

Describe alternatives you’ve considered I though about creating a new storybook “platform” (like @storybook/html, @storybook/react) but this seems very involved and my understanding is that presets are more likely to be the future.

The other alternative would be to ask everyone to configure a .storybook/preview-head.html in their respective projects 😢

Are you able to assist bring the feature to reality? yes, I can…

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AdamVigcommented, Feb 20, 2020

@shilman I got it working. Thank you for your quick responses and thoughtful workarounds!

0reactions
shilmancommented, Feb 20, 2020

There’s an “entries” export that does the same thing for the preview

Read more comments on GitHub >

github_iconTop Results From Across the Web

Toon Boom Harmony 22 Advanced: Reference Guide
2. From the right-click menu, select Add Synced Drawing Layer. Parameter. Description. Name. Lets you give the new layer a meaningful name. Overlay...
Read more >
Standalone Cornerstone | Themeco Docs
In this article, we're going to explain how to install the Cornerstone plugin when you're using a third party theme, plus explain how...
Read more >
Camtasia Studio 8.2 - Help File - TechSmith
default settings in Recorder give you a recording file that includes: ... In Camtasia Studio, right-click on a CAMREC file in the Clip...
Read more >
ATG Merchandising Administration Guide - product version: 10.2
This software or hardware and documentation may provide access to or information on content, products, and services from third parties.
Read more >
Cloud Data Fusion release notes
The new version of the plugin is used by default in new Replication jobs. To use the new plugin version in existing jobs,...
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