logo
search
SharePoint Document Issues

How to Fix Missing Content Editor Web Part in SharePoint Online

Rana GarciaRana Garcia Sep 28, 2026 870 views

Question details

The Content Editor Web Part is missing or uneditable in SharePoint Online due to restricted custom script or site-level permissions.

How to Fix Missing Content Editor Web Part in SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
Administrators or site owners are trying to add or modify a Content Editor Web Part on their SharePoint pages, but the web part is entirely missing from the gallery or existing ones are locked.
Observed behavior
The Content Editor Web Part disappears from SharePoint Online, existing web parts become uneditable, and users may encounter a permissions error even when 'Add and Customize Pages' permissions are seemingly applied.
Before you start

Ensure you have SharePoint Administrator or Global Administrator privileges in Microsoft 365, as modifying custom script settings requires high-level tenant access.

Solution 1Recommended

Verify and Enable Custom Script Settings for the Affected Site

The most common reason for a missing Content Editor Web Part is that custom script capabilities have been restricted at the specific site level.

SharePoint Online often blocks custom scripts by default to enhance security. When custom scripts are blocked, script-based web parts like the Content Editor and Script Editor are automatically hidden from the web part gallery and become uneditable.

1
Access the SharePoint Admin Center

Log in to the Microsoft 365 admin portal and navigate to the SharePoint admin center.

2
Locate the affected site

In the left-hand navigation pane, expand 'Sites' and click on 'Active sites'. Search for and select the specific site collection where the web part is missing.

3
Open site settings

With the site selected, click on the 'Settings' tab in the property panel that appears on the right side of your screen.

4
Check custom-script status

Look for the custom script setting. If it is restricted or disabled, change it to allow users to run custom scripts.

5
Wait for propagation

Save your changes. Note that it can take up to 24 hours for custom script changes to fully propagate across the SharePoint Online site.

Verify and Enable Custom Script Settings for the Affected Site
Propagation Time: If you need immediate results, you can use the SharePoint Online Management Shell (PowerShell) command 'Set-SPOSite -Identity <SiteURL> -DenyAddAndCustomizePages 0' to enable custom scripts faster.
Free Microsoft Office alternative

Looking for a Lightweight Document Solution? Try WPS Office

While troubleshooting complex SharePoint web part and tenant permission issues, you might find that straightforward document collaboration is often better. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for creating, editing, and sharing your important files without the hassle of complex administrative settings.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with fast startup times and a familiar user interface.No complex web part configurations or tenant-level scripting permissions required.Built-in robust PDF editing, conversion, and signature tools for complete document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why did the Content Editor Web Part disappear suddenly?

The Content Editor Web Part typically disappears when custom script capabilities are disabled at the site or tenant level. Microsoft sometimes updates security baselines, which can restrict users from adding or modifying scriptable web parts.

How long does it take for custom script changes to take effect in SharePoint Online?

Enabling or disabling custom scripts via the SharePoint admin center graphical interface can take up to 24 hours to fully apply across the site collection. Using PowerShell can often apply the changes more quickly.

Can I use the Content Editor Web Part on modern SharePoint pages?

No, the Content Editor Web Part is only available on classic SharePoint pages. For modern pages, you should use the Embed web part or deploy a Modern Script Editor web part built via the SharePoint Framework (SPFx).

What should I do if my permissions include 'Add and Customize Pages' but the web part is still uneditable?

If you have the correct administrative permissions and custom scripts are properly enabled tenant-wide but the issue persists, this indicates a backend synchronization error. You should collect the exact error messages and contact Microsoft Support to investigate your tenant.