Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitch on initial load of HTML cells #146

Open
tennox opened this issue Dec 28, 2023 · 0 comments
Open

Glitch on initial load of HTML cells #146

tennox opened this issue Dec 28, 2023 · 0 comments

Comments

@tennox
Copy link

tennox commented Dec 28, 2023

After discovering the amazing starboard-wrap functionality, I did what any insane person would do, and crafted a starboard notebook demonstrating it 馃榿

https://starboard.gg/tennox/starboard-embed-n7dJkNY

But I discovered a glitch when I set the cells to "Run on load", where there is actually a different element returned by document.getElementById, which (I found out via throttling network in devtools) is because the cell editor renders the actual html for a brief moment:

Screenshot from 2023-12-28 10-45-39

I guess it should render a <pre> with the content instead or something like that 馃

Workaround (using the last matching element) is shown here:
https://starboard.gg/tennox/starboard-embed-workaround-initial-load-nQvX9iF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant