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

Preact: Make preact use inline stories (without iframe) by default in docs #19741

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

kasperpeulen
Copy link
Contributor

What I did

Preact is missing config files for docs in the renderer. I have added the first bit in this PR, which will make sure that stories in docs will be inlined by default and not using iframes. This is what other renderers use by default as well.

How to test

Go to the published chromatic storybook, and see that it is not using iframes anymore in docs.

If your answer is yes to any of these, please make sure to include it in your PR.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2022

Fails
🚫 PR is marked with "BREAKING CHANGE" label.

Generated by 🚫 dangerJS against 36515e6

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kasperpeulen kasperpeulen merged commit 2f4b6db into next Nov 3, 2022
@kasperpeulen kasperpeulen deleted the kasper/preact-docs-inline-stories branch November 3, 2022 14:42
@kasperpeulen kasperpeulen restored the kasper/preact-docs-inline-stories branch November 3, 2022 19:32
@ndelangen ndelangen deleted the kasper/preact-docs-inline-stories branch October 20, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants