-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Cannot load custom js with <script> on version 6.x #7325
Comments
Hi @CnBDM-Su can you share which version of Notebook 6 you are experiencing this problem with? |
@RRosio 6.4.0 |
Thank you for the update @CnBDM-Su, have you also used the |
Hi @RRosio , thanks for your help. But still not work.
This works well in 5.x and 7.x For plot appearance, you may need to change the div id to your iframe div id. And if you have any other js package example instead of echarts that works you can also send to me let mt try. |
Thank you for your reply @CnBDM-Su. In trying the snippet of code that you provided, I see the same error you mentioned when opening this issue: When I try an example, like the following, I do not see any errors:
|
I use IPython HTML to load custom js like
HTML(<script>custom js content</script>)
works well in notebook on version 5.x and 7.x.But fail in 6.x.
The IPython HTML cannot find it. when I call it, it shows xxx not defined in console.
Does anyone know how to solve this without change the version of notebook?
Is there specific load custom js approach for version 6.x?
Thanks
The text was updated successfully, but these errors were encountered: