Content Editor, Script Editor Web Part Missing in SharePoint Online?

Problem: Content Editor WebPart in SharePoint Online is Missing!

sharepoint online content editor web part not available

Fix SharePoint Online Content Editor web part missing Issue:

In Modern SharePoint Online sites (E.g., Group sites, Communication Sites), Self-serviced sites, and Root site, custom scripting is disabled by default! So, how to get a content editor web part in SharePoint Online? To enable the content editor web part and other web parts, you should enable custom scripting in SharePoint Online.

How to Enable Custom Scripting in SharePoint Online?

To enable custom scripting at SharePoint Online Admin Center, follow these steps: How to Enable Custom Script in SharePoint Online?

This makes the content Editor web part available! Not just content editor, but also: Script Editor Web Part, Business data web part, search web part, etc.

content editor webpart in sharepoint online missing

Custom Script is already enabled, But still not getting Content Editor web part and Other Web Parts?

Well, if the custom script setting is already enabled in SharePoint Online Admin Center, try rerunning this cmdlet to enforce Custom Script settings through PowerShell! Because, at the time of the creation of the site, You may have had the custom script option disabled in SharePoint Online Admin Center!

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

This PowerShell enables the content editor web part in SharePoint Online!

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

2 thoughts on “Content Editor, Script Editor Web Part Missing in SharePoint Online?

  • I cannot get this working for a modern “Team” or “Communication” site. Do you have a suggestion as to how I can get a “Content Editor” web part working in a modern Team or communication site?


Leave a Reply