Wysiwyg clear floats

Categories

Component ID

1365088

Component name

Wysiwyg clear floats

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

438

Component created

Component changed

Component body

wysiwyg_clearfloats is a WYSIWYG plugin that enables 3 additional buttons on the TinyMCE editor. These buttons allow you to insert a breaking element that will clear floated elements above it. This is very handy when inserting pictures that you wish to be floated left, but then require your next paragraph to start 'below' the floated elements. Clearing the float enables you to do this.

The bulk of the work is done by a tinyMCE plugin component, which was written by Miguel Ibero as a plugin for wordpress. I have merely ported it from wordpress to drupal.

If the module proves popular, I will consider supporting additional editors (ckeditor is likely to be the first)

Here is information on the original wordpress plugin:

http://wordpress.org/extend/plugins/tinymce-clear-buttons
Plugin Name: TinyMCE Clear
Plugin URI: http://www.peix.org/code/tinymce-clear-buttons
Description: Enables TinyMCE clear buttons
Version: 1.1
Author: Miguel Ibero
Author URI: http://www.peix.org