datocms-plugin-sanitize-richtext

Remove styles copied from MS Word and others

Usage no npm install needed!

<script type="module">
  import datocmsPluginSanitizeRichtext from 'https://cdn.skypack.dev/datocms-plugin-sanitize-richtext';
</script>

README

Sanitize Richtext DatoCMS plugin

Remove styles copied from MS Word and others

Configuration

No configuration needed.

Development

Install all the project dependencies with:

yarn install

Add this plugin in development mode to one of your DatoCMS project with:

yarn addToProject

Start the local development server with:

yarn start

The plugin will be served from https://datocms-plugin-datocms-plugin-sanitize-richtext.localtunnel.me/. Insert this URL as the plugin Entry point URL.

Publishing

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.json following the official rules;
  • you've added a cover image (cover.png) and a preview GIF (preview.gif) into the docs folder.

When everything's ready, just run:

yarn publish