Skip to content

Instantly share code, notes, and snippets.

@danhollick
Last active February 2, 2020 13:24
Show Gist options
  • Save danhollick/46a91eb2384cd983924565f0070773e5 to your computer and use it in GitHub Desktop.
Save danhollick/46a91eb2384cd983924565f0070773e5 to your computer and use it in GitHub Desktop.
Receiving plugin message
<script>
window.onmessage = async event => {
const message = event.data.pluginMessage
console.log(message)
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment