Pau
November 14, 2022, 5:04pm
3
This is something you need to handle on the front-end of your site. You can add this piece of code to your documents by creating a custom Embed or HTML field:
To add a custom embed code or raw HTML, you will first need to set up a unique field or Slice specifically for this. Then you will need to add code to your website application to handle this new field.
1. Create a new field for the HTML
You have two options, using a Key Text field or a Rich Text field.
with a Rich text field
We recommend you using a customized Rich Text field specifically for your custom code. You will need to configure the field to "Allow multiple paragraphs" and set the fiel…