Sanitize messy HTML with ease.
A simple field add on that allows you to sanitize messy Html.
This plugin uses the sanitize-html package to perform sanitization. The default sanitize-html settings are passed as a global plugin setting called
Sanitizer Options. You can change these sanitizing options in the Plugin editor.
Install all the project dependencies with:
Add this plugin in development mode to one of your DatoCMS project with:
Start the local development server with:
Before publishing this plugin, make sure:
- you've properly described any configuration parameters in this README file;
- you've properly compiled this project's
package.jsonfollowing the official rules;
- you've added a cover image (
cover.png) and a preview GIF (
preview.gif) into the
When everything's ready, just run: