146
Views
4
Comments
Solved
How to do an iframe in react?
Question

I need to display an external webpage in a block in a page in react. In trad web you could use a iframe. Is there a way to do this within react?

2020-07-21 19-28-50
Rajat Agrawal
Champion
Solution

Hi Jason Herrington,

Yes, you can use html tag widget in that you can put iframe


Regards,

Rajat

2017-08-09 12-12-29
Jason Herrington

Rajat - interesting! How would you set the address the iframe is going to display?

2020-07-21 19-28-50
Rajat Agrawal
Champion

In the attribute property you have to take src option:

2017-08-09 12-12-29
Jason Herrington

Thank you!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.