O código de incorporação Gleam/JavaScript é suportado?

O Discourse suporta a hospedagem de sorteios do Gleam? O Gleam fornece um código de incorporação HTML, mas tentei usá-lo em uma postagem do Discourse e não consegui fazê-lo funcionar/exibir.

The short answer is yes! Everything I see here can be done in a theme component. The amount of work required on your end depends on which method you want to use.

4 curtidas

In theory it does yes, but when I put the HTML embed code into a topics post, the Gleam widget doesn’t load.

This is all I see, instead of the Gleam widget. It’s just standard embed HTML provided from Gleam too, which works fine on a WordPress site.

It looks like Discourse doesn’t support JavaScript in Topics.

Is there a workaround?

We do support JS in topics, you just need to write a theme component that decorates the posts according to rules you set.

This will require developer help. I recommend you post in marketplace

4 curtidas