-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Addon-docs: Source editing support #6642
Comments
Automention: Hey @elevatebart @igor-dv @JeroenReumkens, you've been tagged! Can you give a hand here? |
What do we want here ? |
I can try to help |
@libetl Haven't really spec'ed it out yet. Will definitely loop you in once this gets started. There are some "lightweight" in-place code editors like https://github.com/FormidableLabs/react-live and I'd like to support this interaction. However, I'm unclear how this will integrate with the rest of the Storybook UI and also cross-framework. More soon cc @elevatebart @JeroenReumkens |
I've seen how the folks at Segment handle this: Live example: https://evergreen.segment.com/components/button/ |
Is https://github.com/storybookjs/storybook/releases/tag/v5.2.0-beta.8 related to this? Also, I just stumbled across this: https://mdxjs.com/guides/live-code/ |
@kevinSuttle thanks for the link--that looks really useful. this is probably a 5.3 feature and still unclear how to fit it in in a cross-framework way! |
Definitely. That's not an easy task for sure. Thanks for your work on this! |
The |
react-styleguidist / vue-styleguidist allow this. We are looking to use addon-docs instead of styleguidist. Would be great if editing was allowed. Maybe have a look at their solution. |
@bodograumann we have the |
any updates on this? Really useful feature imo |
Add editing support to #6641
Details TBD
The text was updated successfully, but these errors were encountered: