Skip to main content

request for extra postmessages

We are embedding the opnforms editor in our headless cms and are wondering if it is possible to have the below actions added as postmessages so we can catch them on our end and react to the actions. in the postmessage should be visible what type of action is taking place:

  • when publishing a form

  • when deleting a form

  • when clicking the back button

For the backbutton it would be nice if in the event data we can see the current view (from) and to which view we are going (to). so click on the back button you go from “edit form“ view to “list of forms” view.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Julien

    Team•

    Jul 19

    Hi,

    This is now available. The embedded editor sends postMessage events when a form is saved or published, when a form is deleted, and when the editor back button is used. The back-navigation event includes the source and destination views and routes.

    You can find the event names, payloads, and integration example here: Editor Embed Events documentation.

    Thanks again for the suggestion!

  • Archie

    Team•

    Jun 30

    Hi,

    Thanks for the great feedback! These extra post messages sound like a useful addition for embedded editor integrations.

    I've shared your suggestions with our Product Development team, and they're looking into them. We'll keep you posted if we have any updates.

    Thanks again!