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 in Root site, custom scripting is disabled by default! So, how to get content editor webpart in SharePoint Online? To enable content editor webpart 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 running this cmdlets again to enforce Custom Script settings through PowerShell! Because, at the time of 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 content editor webpart in SharePoint Online!


  1. 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?


Please Login and comment to get your questions answered!

Powered by Blogger.