-
Notifications
You must be signed in to change notification settings - Fork 638
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
How to add Blocks to a HTML page #623
Comments
Great, haven't saw it. THX! |
I was not able to understand the mentioned docu. I have reverse engineered the rendering in of the documentation itself and created a gist: https://gist.github.com/stritti/e47d780cedc0146e9c3b7e7c0e8eee68 |
Right this one is invasive as it injects css and js in the page. The documented approach uses iframe a to avoid that |
You are right, @pelikhan. But I was not really able to follow the documentation you provided. |
Let me see if i can fiddle one. |
Awesome, many thanks @pelikhan! This helped me a lot! Really simple solution. |
Which web site are you instrumenting ? :) |
I am currently set up a HTML5-presentation for the "GirlsDay" in Germany: https://github.com/stritti/girlsday-einfuehrung-informatik It is currently very basic, I just wanted to see, that I need not to screenshot the Blocks first :) |
* Improved Readme
Now I updated rendering successfully and could start in the next days adding the useful content. The frame is ready. |
|
Have a look at https://github.com/stritti/girlsday-einfuehrung-informatik there are some examples. |
I've test it, but it is not working when rendering single Circle Shape Block, or a boolean Block. |
in my environment it works fin. Have a look on this (German) slide: https://stritti.github.io/girlsday-einfuehrung-informatik/#/Blocks-Variablen Maybe you could provide a source example. |
Is ist possible to add source examples in Block-style to a web page?
I would prefer this instead of creating unchangeable screenshots.
The text was updated successfully, but these errors were encountered: