Site logo

Archived topic

I want to add a button with an onclick handler that runs this JavaScript

1 reply · Started by wordpressuser13 on February 9, 2023

Viewing posts 1–2 of 2

This is the Javascript I want to run when I click the button:

document.querySelector("ruffle-embed, ruffle-object, ruffle-player").enterFullscreen();

Any idea how I can do that in GeneratePress?

This archived topic is closed to new replies.