How to Reuse HTML + CSS Blocks in Different Raw HTML Elements?

Posted in: Newspaper
Post count: 36

Hello Support,
I’m using the Raw HTML element in the tagDiv Composer. I’ve pasted some custom HTML and CSS directly into it, and it displays fine.
Now I want to reuse that same HTML + CSS in another Raw HTML block, without copying and pasting everything again.

Is there any recommended way to store the code in one place (like a reusable block or template) and then reference or include it in multiple places?

Thanks
Vunt

Post count: 27744

Hello,

Yes, if you want to use the same element without making any changes to it, you can save that element by right-clicking and then giving it a name—please just avoid using special characters. After that, you can find it in Composer as the last element in the Composer list -> https://i.imgur.com/2G2B1CE.png

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.