So I've created a code component like this it works fine when using a URL, but when generating the html and using srcdoc parameter I'm not able to use Javascript. I've tried:
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.