The Dangerous Content Web Part aims at replacing the Content Editor Web Part, which is not supported on modern Microsoft 365.
"Dangerous" means that the Web Part will insert html, styles and scripts in the page without any sanitization action. Feel free to contact the author if you are looking for a "safe" Content Web Part that sanitizes scripts.
The term "dangerous" is inspired by the React method dangerouslySetInnerHTML, and meant as a warning.
Readme is work in progress.
[picture of the solution in action, if possible]
Get your own free development tenant by subscribing to Microsoft 365 developer program
Any special pre-requisites?
Solution | Author(s) |
---|---|
folder name | Author details (name, company, twitter alias with link) |
SafeContentWebPart | @PathToSharePoint |
Version | Date | Comments |
---|---|---|
0.5 | October 5, 2020 | First draft |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
- npm install
- gulp serve
Include any additional steps as needed.
Description of the extension that expands upon high-level summary above.
This extension illustrates the following concepts:
- topic 1
- topic 2
- topic 3
Notice that better pictures and documentation will increase the sample usage and the value you are providing for others. Thanks for your submissions advance.
Share your web part with others through Microsoft 365 Patterns and Practices program to get visibility and exposure. More details on the community, open-source projects and other activities from http://aka.ms/m365pnp.
- Getting started with SharePoint Framework
- Building for Microsoft teams
- Use Microsoft Graph in your solution
- Publish SharePoint Framework applications to the Marketplace
- Microsoft 365 Patterns and Practices - Guidance, tooling, samples and open-source controls for your Microsoft 365 development