Problem: Content Editor WebPart in SharePoint Online is Missing!
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 a content editor web part in SharePoint Online? To enable 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.
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 cmdlet again 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 content editor web part in SharePoint Online!