Skip to content

Suggestion: send messages to opened tab when data changes #126

Open
@gryphonmyers

Description

@gryphonmyers

The use case is: an editor has both the CMS and the preview URL open. They edit some data in the CMS, and the preview URL automatically updates to reflect their edit.

I believe this could be accommodated with postMessage, so long as we have a reference to the opened tab. This would enable the developer of the frontend preview app to listen for messages coming from the plugin and do a reload or patch the app with the changed data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestRequest for a feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions