The example in the the article that you linked to explains precisely what’s needed. Not sure how I can help, but you might want to try loading this simple HtmlComponent example in your editor. The example is based on the article.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Postmessage from html to wix page | 1 | 948 | December 27, 2018 | |
| not able to send message from html to wix code and the other way around | 1 | 122 | April 9, 2020 | |
| postMessage/onMessage no longer working | 14 | 2291 | November 18, 2018 | |
| Communicate with iFrame source code | 3 | 4613 | July 4, 2019 | |
| $w('#html1').postMessage("<html>Hi!</html>"); shows nothing | 5 | 473 | March 29, 2018 |