Skip to content
Plugin for Summernote that adds a Button and/or Paste functionality for cleaning MS Word Crud from editor text
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead, 81 commits behind DiemenDesign:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A plugin for the Summernote WYSIWYG editor.

summernote-cleaner removes the unnecessary and possibly layout breaking Crud that gets added to MSWord, Open Office, and Libre Office Documents.

The plugin can function in a couple of different ways. It can have a Toolbar Button which allows the Cleaning of the Editor's Text, or Pasted Text can be Cleaned when Pasted into the Text Editor.


1. Include JS

Include the following code after Summernote:

<script src="summernote-cleaner.js"></script>

2. Supported languages

Currently available in English!

3. Summernote options

        ['cleaner',['cleaner']], // The Button
        element:'.summernote', // The element you use to initialise Summernote.
        time:900, // Time to display the Notification.
        action:'both' // Options: button|both|paste
You can’t perform that action at this time.