Kevin
Well-known member
I'm working on some trickery that executes currently after the page load has finished. For that I'm using a document event listener with DOMContentLoaded. That part works fine but then I realized I need to take into account content being shown after clicking the post preview button.
Is there an event listener, or alternative, I could use to fire off after the preview button has been clicked and the preview div content loaded?
Is there an event listener, or alternative, I could use to fire off after the preview button has been clicked and the preview div content loaded?