get an html from iframe

Hi,
i want to present an iframe to the user and after to get the html from the iframe and save some data from it in my collection.
is it possible?
what i understand that maybe possible to do is to create html Component with an iframe inside it and to message the iframe content back to my page but i can’t understand where i create html Component is it from add-> more → html iframe?
and if so how do i get the content and pass it to my page?

thank you
Art

Hey
You can send data from HTML Component back to Wix Code by using the standard javascript function postMessage() but I dont know how to send the whole html from the iframe. Are you sure you want to send back the whole html? Please describe the solution you are after.