Forum Discussion
addy2020
Sep 29, 2020Copper Contributor
HTML code in Sharepoint WebPart not working
I want to insert a simple HTML webpart in my SharePoint Page but after entering the HTML code nothing happens it stays as is.
<h1>My First Heading</h1>
My original code is different but I tried above code as well but it just doesn't work.
- ArefHalmstrandSteel Contributor
addy2020 Hello, what web part are you currently using to insert html elements?
- addy2020Copper Contributor
ArefHalmstrandCode Snippet webpart
- ArefHalmstrandSteel ContributorThat web part only shows the code lines on the page. Use this link below to implement the correct web part.
https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor