Adding CEWP to modern list view page

%3CLINGO-SUB%20id%3D%22lingo-sub-302604%22%20slang%3D%22en-US%22%3EAdding%20CEWP%20to%20modern%20list%20view%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302604%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20migrating%20from%20SharePoint%202010%26nbsp%3Bto%20SharePoint%20Online%20to%20use%20modern%20experience.%20In%20the%20source%20(SP%202010)%20list%20view%20page%2C%20there%20is%20a%20content%20editor%20web%20part%20with%20static%20HTML%20content.%20How%20should%20I%20replicate%20the%20same%20in%20SP%20Online%20page%20in%20list%20view%20(i.e.%20%2FForms%2FAllItems.aspx).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20not%20possible%20OOTB%20way%2C%20what%20should%20be%20the%20approach%20to%20achieve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-302747%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20CEWP%20to%20modern%20list%20view%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302747%22%20slang%3D%22en-US%22%3EAs%20Juan%20said%20there%20is%20nothing%20for%20Modern%20UI%2C%20and%20Microsoft%20has%20pretty%20much%20said%20they%20don't%20want%20to%20supply%20these%20for%20us.%20There%20is%20a%20uservoice%20asking%20for%20it%3A%20%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329214-sites-and-collaboration%2Fsuggestions%2F32122990-modern-content-editor-web-part%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329214-sites-and-collaboration%2Fsuggestions%2F32122990-modern-content-editor-web-part%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20are%20some%20custom%20spfx%20solutions%20you%20can%20easily%20download%20and%20add%20to%20your%20sites%20to%20allow%20scripting%20etc.%20Take%20a%20look%20at%20these%20open%20source%20soltions%20form%20the%20SharePoint%20github%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-script-editor%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-302616%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20CEWP%20to%20modern%20list%20view%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302616%22%20slang%3D%22en-US%22%3EThere%20is%20not%20a%20content%20editor%20replacement%20in%20modern%20SPO%2C%20but%20I%20would%20recommend%20you%20to%20take%20a%20look%20at%20this%20document%3A%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fsharepoint%2Fblogs%2Fmodernize-your-sharepoint-pages%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fen-us%2Fsharepoint%2Fblogs%2Fmodernize-your-sharepoint-pages%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello All,

 

We are migrating from SharePoint 2010 to SharePoint Online to use modern experience. In the source (SP 2010) list view page, there is a content editor web part with static HTML content. How should I replicate the same in SP Online page in list view (i.e. /Forms/AllItems.aspx).

 

If not possible OOTB way, what should be the approach to achieve this?

 

Thanks,

2 Replies
There is not a content editor replacement in modern SPO, but I would recommend you to take a look at this document: https://developer.microsoft.com/en-us/sharepoint/blogs/modernize-your-sharepoint-pages/
As Juan said there is nothing for Modern UI, and Microsoft has pretty much said they don't want to supply these for us. There is a uservoice asking for it: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/32122990-modern-c...

There are some custom spfx solutions you can easily download and add to your sites to allow scripting etc. Take a look at these open source soltions form the SharePoint github: https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor