slc.cleanwordpastedtext 1.2.1
Provides a event subscriber that cleans up the html code of text pasted from MSWord.
Latest Version: 1.2.4
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.2.1 (2009-11-03)
- I was too stupid to make a successful release, here we go again (thomasw)
1.2 (2009-11-03)
- Bugfix in event-handler: don't fail if cleanWordPastedText field isn't present (thomasw)
1.1 - 2009-10-27
- Add a new sanitize method and new helper methods. Thanks to Wichert.
- Enable the cleaner by default.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| slc.cleanwordpastedtext-1.2.1.tar.gz (md5) | Source | 2009-11-03 14:16:38.005035 | 15KB | 36 | |
- Author: Syslab.com GmbH <info at syslab com>
- Home Page: http://svn.plone.org/svn/plone/plone.example
- Keywords: plone syslab simplon microsoft word
- License: GPL
- Categories
- Package Index Owner: do3cc, jcbrand, thomasw, goibhniu, pilz
- DOAP record: slc.cleanwordpastedtext-1.2.1.xml
Log in to rate this package.
