slc.cleanwordpastedtext iconslc.cleanwordpastedtext 1.2.8

Clean up the HTML formatting problems introduced by pasting content from MSWord into Plone's RichText fields
slc.cleanwordpastedtext is a Plone product that cleans up the HTML formatting problems that are introduced by pasting content from MSWord into Plone's RichText fields.

Every time an object is created or edited, the HTML in its RichText fields will be sanitized.

The HTML sanitizing feature is turned on by default for all Archetype objects, but can be turned off on a per object basis by checking a box in the 'settings' fieldset of the default edit view.
Implementation:

This product provides an event subscriber for all BaseContent Archetypes objects that will clean up the HTML of all the RichText fields for each object.

The cleaning and sanitizing of the HTML code is mainly done by using the lxml library: http://codespeak.net/lxml/lxmlhtml.html by means of the htmllaundry package, written by Wichert Akkerman.

Installation:

This Product does not have to be installed via quick_installer or the plone control panel.

Just add it to your buildout or install via easy_install.

last updated on:
December 26th, 2010, 13:04 GMT
price:
FREE!
developed by:
Syslab.com GmbH
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ Plone Extensions

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Use Wichert Akkerman's htmllaundry utilities for code sanitizing. (jcbrand)
read full changelog

Add your review!

SUBMIT