You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When seeing a story in canvas, the Outline addon functionality is correct:
But when seeing in a docs entry, it outlines more elements that it should not, such as the "show code" button and the story wrapper:
The addon should only highlight the child elements of the story wrapper (e.g. <div id="story--components-category--default--primary-inner" data-name="Default">) in docs mode.
To Reproduce
Run Storybook 7 with addon-essentials
Open a story in docs mode
Enable outline (press O on keyboard)
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Reported by @kbrandwijk (Thank you!)
When seeing a story in canvas, the Outline addon functionality is correct:
But when seeing in a docs entry, it outlines more elements that it should not, such as the "show code" button and the story wrapper:
The addon should only highlight the child elements of the story wrapper (e.g.
<div id="story--components-category--default--primary-inner" data-name="Default">
) in docs mode.To Reproduce
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: