-
Notifications
You must be signed in to change notification settings - Fork 10
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
notebookContent not show with local resource #5
Comments
I also tried to create a custom html file, including absolute paths instead of relative paths to starboard and use that custom file with starboard-wrap. It does not work. Don't know why. starboard.html to be used as content for iframe:
Usage:
|
Hmm weird, anything in the console? Does it work when you open the target URL directly? |
It does works if I use the cdn src instead: Opening the starboard.html directly in the browser while the files are served does not work in Chrome. Edit Underlying issues might be that
|
@futurepaycc Does it work for you in Firefox, too? |
try to replace unpkg.com with local build, notebook blank
const el = new StarboardEmbed({
notebookContent: "# %% [javascript]\n3+5\n",
// src: "https://unpkg.com/starboard-notebook@0.12.0/dist/index.html" //ok
src: "https://unpkg.com/starboard-notebook@0.12.1/dist/index.html" //ok
// src: "starboard/index.html" //local build, not working
// src: "http://0.0.0.0:8000/starboard/index.html" //local server,not working either
});
The text was updated successfully, but these errors were encountered: