pnp / sp-dev-fx-webparts

SharePoint Framework web part, Teams tab, personal app, app page samples
http://aka.ms/spfx-webparts
MIT License
2.02k stars 3.83k forks source link

Script editor web part for modern pages stopped working #5179

Open snailCorpse opened 1 week ago

snailCorpse commented 1 week ago

Disclaimer

Yes

Sample

Script editor web part for modern pages

Contributor(s)

@waldekmastykarz

What happened?

Script Editor no longer works as expected. Started 1st July.

Script manager displays blank gaps in page where there would be the result of the javascript editor. When you edit the page, the webpart does not load correctly, and when you configure the part, the error message

"No settings available. The web part or dashboard card using this property pane was deleted."

Cannot add the editor again, as it is no longer displaying in the list of webparts to add. However in the application catalog the webpart is still showing as added and enabled

Steps to reproduce

  1. Load webpage that has modern web editor added
  2. Click on edit page
  3. Select webpart and click the pencil icon

Expected behavior

On edit page, I expect to see the heading of Modern Javascript editor, and be able to configure the javascript when clicking the pencil icon

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

What version of Node.js is currently installed on your workstation?

18

What version of Node.js is required by the sample?

18

Paste the results of SPFx doctor

not run

Additional environment details

none

mrzosia commented 1 week ago

I am also experiencing the same issue across multiple sites. It hasn't worked since June 28th for our sites.

icusick commented 3 days ago

We are also experiencing this issue.

BlazeOfFeathers commented 2 days ago

Microsoft has updated its settings related to custom scripts. From now on, custom scripts will only remain active for 24 hours. When you activate this feature, the custom script will be available again, but only for a 24-hour ...