Join the Webstudio community

Updated 4 months ago

Adding a Canvas Element to a Web Page

At a glance
Other than creating an html embed, is there a way to add a <canvas> element? Perhaps some thing I can change like the box to a <section>?
M
O
J
8 comments
Change the tag "div" to tag "canva"
Attachment
SCR-20241016-hwhg.png
It works, but the system doesn't "allow" this. But if you check the code the canva is render.

I know @TrySound don't like that πŸ˜…
For a clean solution right now I think HTML Embed is the best. Hope they will add "canva" tag pretty soon.
What are you doing with this element? Don't you still need html embed with js for it in the end?
@Oleg Isonen, I was simply converting some codepens into Webstudio for practice. I was using js for math/particles/shapes. This was just an exercise, not for a project so it isn't critical for me.
@Milan Boisgard | Uncode School, thanks for the hack. I kept with the html embed because I don't like red errors. πŸ™‚
Add a reply
Sign up and join the conversation on Discord