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 tri...
addy2020
Sep 29, 2020Copper Contributor
ArefHalmstrandCode Snippet webpart
ArefHalmstrand
Sep 29, 2020Steel Contributor
That 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
https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor
- addy2020Sep 29, 2020Copper Contributor
ArefHalmstrandI'm a sharepoint user. You sure I can implement this script webpart. I don't see modern code snippet available as shown in the link you shared.
- ArefHalmstrandSep 29, 2020Steel ContributorYou will need access to the app catalog. This is a SPFx solution built by the PnP community. You need to download the solution, bundle it into a sppkg and upload it to the app catalog. Then you will be able to use it on a SharePoint page.
- addy2020Sep 30, 2020Copper Contributor
ArefHalmstrandNever did before what you're saying. Can you guide me or share some link for it?