You’re not receiving notifications from this thread.
Hotwire and iframes?
Hey everyone! I am working on a page builder. So the preview is in an iframe.
I am trying to make it so when I click the edit icon on a section in the iframe it displays that form in a sidebar in the parent frame.
Can this be accomplished with Hotwire or am I thinking about this the wrong way?
Not really a Hotwire thing. You'd have to use
postMessage to communicate between the two I believe. https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage