Unable to add custom scrips in SharePoint Online Communication site

Jul 19 2020 8:33 AM
Hello All,
 
I am using SharePoint Online Communication site, i need to add custom scripts ie via content editor or script editor webpart, but i dont have media and content editor webparts available. This are the workarounds tried so far:
  • I enabled the property setting 'Allow custon scripts' in Site Collection Level.
  • I am unable to enable the Site Collection feature 'SharePoint Server Publishing Infrastructure' . It opens an error      "Sorry, something went wrong. An unexpected error has occurred." 
  • So i was unable to activate the same feature in 'Site Features' as well.
  • So for testing purpose i created the 'Team Site' with those features enabled. Still i cannot found content editor webpart.
I have been struggling on this for 2 days. please help me on this.

Answers (5)