Skip to content

Customizer Messenger (postMessage) instead of cross-frame communication #8

Description

@westonruter

When the preview window loads, it communicates to the host page to show only the customizer sections for sidebars that were rendered on the page. We're doing this just accessing jQuery in the parent frame and not using postMessage or the Customize Messenger library. I couldn't see quickly how to access the Preview instance to send more message from the window, because it is protected inside a closure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions