What is HTML embed?

We want you to be able to build flexibly with Ycode, that’s why you can add any piece of code via HTML embed. This gives you the power to use custom functionality on your web apps and websites.

How to use HTML embed in Ycode

First, copy the embed code of the item you want to embed to your clipboard. In Ycode, go to the Elements panel in the canvas by going to the left-hand side and clicking on the “+” icon next to Layers, finally under HTML click on Embed.

Some things to keep in mind:

  • There’s a maximum of 10,000 characters for embedded code

  • Adding <html></html>, <body></body>, <head></head> or <script></script> tags will break your website page

  • If your embed code has opening and closing tags, make sure to add them in there

Once the embedded block is added to your canvas, double-click in the element to make edits. Then paste the copied custom code. The code is automatically saved, you can just click anywhere in the canvas.

You can add many different applications embedded code, such as YouTube videos, Instagram feeds, or today’s weather.

How to edit an embedded element

Whenever you want to edit your embedded element, just select the layer and click on Edit code in the canvas.

Now you can make your changes.