storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
83.98k stars 9.23k forks source link

[Bug]: Source is not formatted for `web-components` #21370

Open tmeasday opened 1 year ago

tmeasday commented 1 year ago

Describe the bug

image

To Reproduce

  1. yarn task --task dev --template lit-vite/default-ts
  2. head to http://localhost:6006/?path=/docs/example-button--docs

Or even check the latest next build: https://next--638db5bf49adfdfe8cf545e0.chromatic.com/?path=/docs/example-button--docs

System

No response

Additional context

No response

tmeasday commented 1 year ago

Still trying to work out how this worked in 6.4. From my reading of the code, the Source block was not formatting in this case previously. We've established the shipping is passed over the channel unformatted in 6.4.

ynotdraw commented 1 month ago

Hitting this same issue. Did you happen to find a workaround @tmeasday ?

tmeasday commented 1 month ago

Sorry @ynotdraw - I don't really have any recollection of this but I am not a web-components user, likely this was a bug found in testing or reported by a user.