Content editor is not becoming available in newly created Team sites in office 365.

I enabled SharePoint Server Publishing Infrastructure in site collection features and SharePoint Server Publishing in Site features. Custom Script is also enabled from SharePoint admin.

I tried all the steps suggested in this question

Even after all these, I am not able to add Content Editor webpart.

Have they deprecated Content Editor Webpart in Office 365? or have I missed any steps?

  • Is this the classic team site in O563? Feb 6, 2019 at 5:46
  • If you are using modern experience then content editor webpart is not available. Instead, if you want to add only text, you can use text webpart available in modern experience. But if you want to add HTML/Script you will need to use react script editor webpart as suggested by Gautam in his answer below.
    – P S
    Feb 6, 2019 at 6:42

2 Answers 2


It is not supported in the modern experience.

While your OOTB modern webparts and custom SPFx webparts work in classic sites, the classic webparts dont work in Modern sites.

There is also a uservoice which you can upvote which is requesting the CEWP capabilities in Modern sites.

You can however use your html/css/js content in Modern pages using using react script editor webpart which works quite similar to CEWP/SEWP.


Content Editor Webpart is not deprecated in Office 365.

After enable Custom Script from SharePoint admin, it might take 24 hour to take effect.

Besides, try to create a new team site and compare whether the issue still exists.





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.