Is your feature request related to a problem? Please describe.
I use knobs in a React project and encountered the issue of my inputs being escaped by default unless I specify escapeHTML: false in the knobs configuration.
Describe the solution you'd like
"It's safe to set it to false with frameworks like React which do escaping on their side." => Since it's safe not to escape inputs with escapeHTML in React, would it be possible to desactivate it in the React example of addon-knobs documentation.
Replace :
// in https://github.com/storybookjs/storybook/tree/next/addons/knobs#with-react
stories.addDecorator(withKnobs);
with
// in https://github.com/storybookjs/storybook/tree/next/addons/knobs#with-react
stories.addDecorator(
withKnobs({
escapeHTML: false,
})
);
Are you able to assist bring the feature to reality?
yes, I can add the lines above in the React example of the addon-knobs doc :)
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
+1. Oh stale bot :(
Most helpful comment
+1. Oh stale bot :(