Forum Academy Marketplace Showcase Pricing Features

Scripts + HTML element not working

I am trying to include a rich text editor script in my application and apply it to an html element.

This is how my header and body scripts are set:

and this is the html element:

Whenever I preview my application it doesn’t seem to function, it just shows the example text. Maybe I’m missing something, I’m not sure. Any suggestions would be awesome.

1 Like

At the time the initialize section is run, the editor div wouldn’t have yet been added to the DOM. Try make the initialize script into a function, and call it after defining the editor div.