0

CEWP and Script editor webparts are missing in our SharePoint Online sites.

Custom Scripts is allowed for self created sites but prevented only for personal sites. This I checked in SharePoint Online Admin Center --> Settings --> Custom Scripts.

Also in Web part gallery of everysite collection, i am able to see MSContentEditor.dwp and MSScriptEditor.webpart.

Why is the CEWP and Script editor webpart still not available?

1 Answer 1

0

The legacy Script Editor and Content Editor WebParts are not available in the Modern Experience of SharePoint Online. You can however continue to use them in sites using the Classic Experience.

To use similar functionality in modern sites, have a look at a replacement for the WebParts that is using the SharePoint Framework (SPFx). There are a lot more samples for modern WebParts in the official GitHub repository.

This Medium article describes one of the ways to adapt the sample solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.