Forum Discussion

ramanjjilunaidu's avatar
ramanjjilunaidu
Copper Contributor
Apr 05, 2023

I can't see script editor or content editor webpart in SharePoint online

Hi All,

 

I can't see script editor or content editor webpart in SharePoint online, I don't have option to change from Modern to Classic mode. Please guide me.

 

Otherwise you can please let me know how can I embed html and JavaScript in a page

 

 

Regards,

 

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    ramanjjilunaidu  with out-of-the-box modern SharePoint Online Microsoft don't want users to add javascript or css to a page in case future updates they make to SharePoint break your site. So the script editor and content editor webparts are not available and cannot be used. They are only in the classic experience. I believe there is a github script which can re-add the script web part or you can build your own web part in SPFx but I don't know anything about that.

     

    Rob
    Los Gallardos
    Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

Resources