Updated Modern Script Editor Spider Web Business Office Amongst Laid Upwards For Amd Modules In Addition To Exposing _Sppagecontextinfo

By Monday, March 26, 2018 on March 26, 2018 Tags:
Updated Modern Script Editor Spider Web Business Office Amongst Laid Upwards For Amd Modules In Addition To Exposing _Sppagecontextinfo.

 only the next configuration options are directly available Updated Modern Script Editor Web Part amongst gain for AMD modules as well as exposing _spPageContextInfo

The spider web business office haven’t alter much, only the next configuration options are directly available:

  • Keep or take away padding on the spider web business office zone – useful if yous bring script which does non output whatsoever markup.
  • Set the _spPageContextInfo variable – useful if yous bring one-time scripts using this variable on classic SharePoint pages.

I bring besides fixed the code as well as thus that it won’t neglect when loading AMD module scripts – important the scripts volition non uncovering themselves equally module scripts, only charge globally instead.

You tin displace teach the code from https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor.

Thanks for reading : Updated Modern Script Editor Spider Web Business Office Amongst Laid Upwards For Amd Modules In Addition To Exposing _Sppagecontextinfo


Related Post