Log in
Log into community
Join the Webstudio community
New post
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
Adding a Canvas Element to a Web Page
Adding a Canvas Element to a Web Page
Inactive
0
Follow
At a glance
J
Jeremy
4 months ago
Β·
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
Share
Open in Discord
M
Milan Boisgard | Uncode School
4 months ago
I've got a hack to add canva
M
Milan Boisgard | Uncode School
4 months ago
Change the tag "div" to tag "canva"
Attachment
M
Milan Boisgard | Uncode School
4 months ago
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 π
M
Milan Boisgard | Uncode School
4 months ago
For a clean solution right now I think HTML Embed is the best. Hope they will add "canva" tag pretty soon.
M
Milan Boisgard | Uncode School
4 months ago
Here is the issue to follow:
https://github.com/webstudio-is/webstudio/issues/3772
(seems it's a hard task)
O
Oleg Isonen
4 months ago
What are you doing with this element? Don't you still need html embed with js for it in the end?
J
Jeremy
4 months ago
@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.
J
Jeremy
4 months ago
@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
Join on Discord