HTML
Use HTML when a page needs custom markup or an embed that Atomicat does not provide as a native element. Use it carefully, because custom code can affect layout, security, and performance.
How It Works In Atomicatβ
The 3.0 HTML drawer provides a content text area and an Iframe? toggle. When iframe mode is enabled, a height control appears. The editor includes malicious-code detection for redirect-injection style scripts. If blocked code is detected, Atomicat reports the event, shows an error toast, and reloads the page to prevent unsafe content from remaining active.
When To Use Itβ
- Embed trusted third-party widgets when no native element exists.
- Add small custom markup snippets provided by a known integration.
- Prototype a design detail before turning it into a reusable element.
- Wrap an embed in iframe mode when isolation is required.
Configure The Elementβ
- Paste only code you understand or that comes from a trusted provider.
- Enable iframe mode when the code should be isolated from the page document.
- Set iframe height after the content loads; too little height can clip the embed.
- Keep custom CSS and scripts minimal so they do not conflict with Atomicat classes.
- Document the provider and purpose near your campaign notes.
Testing Notesβ
- Preview and publish-test the page after adding HTML; editor preview may not match third-party production behavior.
- Check browser console or provider diagnostics if the embed stays blank.
- Test mobile height, scrolling, and clickability.
Limitations And Tipsβ
- Do not paste redirect scripts, credential capture code, or unknown obfuscated code.
- Custom HTML can break page layout and may not be supported by Atomicat support in the same way native elements are.
- Prefer native elements such as IFrame, Google Maps, Form, Button, or Video when they cover the need.
Related Docsβ
FAQβ
What happens if Atomicat detects malicious HTML?
The source reports the issue, shows an error toast, and reloads the page to remove the unsafe script path.
When should I enable iframe mode?
Use iframe mode when the embed should be isolated or needs its own height setting.
Can I use HTML for tracking scripts?
Use page or pixel settings where possible. Only add scripts you trust and understand.