I'd like to dynamically add a markdown preview and textarea to a form. From what I can tell, the Javascript looks out for markdownx fields on DOMContentLoaded. My problem is that the inputs I'd like to dynamically insert likely take place after the DOMContentLoaded event.
Is there a way I can do this without altering the Javascript already in the project?