I am trying to modernize a few classic sharepoint pages to modern UI. I have a couple of content editor web parts with embedded jQuery code on the classic page which are incompatible with modern UI. Customer would like to have the same functionality on the modern page. What are my options to create a content editor web part using SPFx which can reusable and plug and play like CEWP?
Share
Aamir Yousuf
Hello,
Well there is no Out of the Box options to inject JQuery in Modern UI. For that you need a SPFX.
Following is the link by which you can deploy a Script editor through SPFX. That can be installed as a web-part similar to what you had in Classic SharePoint.
Link: https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor
I hope that answer to your question.
Thanks,
Aamir
enaybee
This works. Thank you.