Problem: The content Editor Web Part 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 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.
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! Please note that these web parts can be added only to classic web part pages and not to modern site pages in SharePoint Online.