Insert script in a post

Hello, I have a cryptocurrency community, and I want to insert a script in several topics reporting the price.

For example, a topic is about bitcoin, and where I indicate what the price is, I would like to place this code, so that the price is automatically updated

<script type="text/javascript" src="https://files.coinmarketcap.com/static/widget/currency.js"></script><div class="coinmarketcap-currency-widget" data-currencyid="1" data-base="USD" data-secondary="" data-ticker="true" data-rank="true" data-marketcap="true" data-volume="true" data-statsticker="true" data-stats="USD"></div>

but I see that due to security policies, it is not enabled, unless I need to add something else first, since it is not shown. It should come out something like this

Captura de pantalla 2024-05-20 125711

how can I do? thank you

You will have to create a theme component for it because it’s probably not a great idea to allow arbitrary execution of Javascript in user’s posts

1 Like

I could also enable, but only for administrators (i only)