Workarounds for SharePoint Online Modern Site Limitations

If you’re working with a modern SharePoint Online site, such as the modern Communications site, you are probably disappointed at the limited number and features of the web parts available.  Notably, the Script Editor web part (SEWP) and the Content Editor web part (CEWP) are no longer available, which is most unwelcome.  To fill this gap, there are several options, at present:

  1. The Modern Script Editor web part from Puzzlepart.  Salaudeen Rajack has provided a helpful write-up here.
  2. Dave Schmidt’s forum answer to add a classic “Web Part Page” to your site’s Content Types.
    Note: If the classic page looks too dramatically different from the rest of your modern site, use CSS to customize it.
  3. React InjectCSS: An SPFx extension that injects CSS on every page of your modern site
  4. Another gem from Salaudeen, this clever solution involves using the Embed web part to call a custom HTML page you’ve created.
    Note: It requires enabling custom scripting in the SharePoint Online Admin Center.

You cannot copy content of this page