Open nmosman opened 1 year ago
Simple example for message passing: https://stackoverflow.com/questions/9153445/how-to-communicate-between-iframe-and-the-parent-site
What you need to do is create an event listener system over this (ie. allow people to add listeners for specific events, and remove those listeners)
We should actually make this a P2 because for now for MVP at least because we should for MVP make core plugins part of the app.
Messaging system for plugins UI between iframe and frontend. Will likely have to create a frontend library for our plugins with this.