Forum Discussion
pjmotley
Nov 16, 2021Copper Contributor
Embedding .HTML on a Sharepoint Page
I'm trying to display a .HTML file using a sharepoint web part. Is there anyway to do this beyond hosting the .html file and embedding through an iframe?
1 Reply
- SderixBrass ContributorIn the classic way I think you can do this with the content editor webpart.
In modern I think you can do this with the SPFX Script editor webpart:
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor
HTH!