RDMD Custom HTML Bug
For some reason, registering an event handler on HTML markup inside of a magic block on our custom pageReady trigger doesn't work. (Check out this project's Custom JS for the example that's running here!) But it does work if you write the HTML inline directly alongside your Markdown? Weird.
Magic Block HTML
Click Me! (won't work 😭)
Inline HTML
Click Me! (logs "Clicked" 👍)
Updated over 3 years ago