Forum Discussion
Deleted
Nov 27, 2017Is there a way to add a content editor web part to a modern page?
I know that you can create a web part page in the Site Pages library, I'm just wondering if there's a way to make it available on a modern page. It seems odd to me that Microsoft got rid of that web ...
Nov 27, 2017
No, you can use your custom SPFx WebParts in classic pages but the other way around is not possible: you cannot use classic SPO WebParts in modern SPO pages. There is a WebPart created by Mikael Svenson that could help you here: https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor
Deleted
Aug 26, 2018If you take ALM in account this webpart would probably be better because you can manage your own sources seperately as seperate files and not embeded in another webpart.
Read this: https://info.paitgroup.com/blog/perhaps-the-only-other-sharepoint-framework-web-part-you-will-ever-need, and the link to the github repository: https://github.com/rob-windsor/ContentEditorSpfx
This webpart uses SPFx 1.0 but you can easily upgrade this solution to SPFx 1.5.1 (latest version while writing) so you can make use of the 'skipFeatureDeployment' parameter which will allow you to scope this App Package tenant wide.