Provides a event subscriber that cleans up the html code of text pasted from MSWord.
Project description
Introduction
This product provides an event subscriber for BaseContent Archetypes objects that will clean up the HTML of all the RichText fields for each object.
This is especially a problem when users copy and paste from MSWord into FCKEditor.
The operation runs automatically every time an object is created or edited and can be disabled/enabled in the Settings fieldset of the object’s normal ‘edit’ view.
The cleaning and sanitizing of the HTML code is mainly done by using the lxml library: http://codespeak.net/lxml/lxmlhtml.html
This Product does not have to be installed via quick_installer or the plone control panel.
Changelog
1.1 - 2009-10-27
Add a new sanitize method and new helper methods. Thanks to Wichert.
Enable the cleaner by default.
1.0 - 2009-10-23
Initial release
Contributors:
Jan-Carel Brand (brand@syslab.com)
Wichert Akkerman
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.