# Clear Floats Button
Contributors: Graffino, Miguel Ibero
Donate link:
Tags: wysiwyg, formatting, tinymce, edit, float, clear, editor
Requires at least: 2.9
Tested up to: 4.3.1
Stable tag: 1.0.2

Adds clear float button to TinyMCE Editor. Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/).

## Description

This plugin adds 1 button to [TinyMCE](http://tinymce.moxiecode.com/) to clear floating elements. It also adds divs to valid tags so they won't be deleted if empty.

## Installation

1. Download.
2. Unzip.
3. Upload to the plugins directory (wp-content/plugins).
4. Activate the plugin.

## Changelog

### 1.0.2
- Updated assets for WP Plugin Directory

### 1.0.1
- Fixed stripping of IDs on DIVs - Extended valid elements fix (https://github.com/Graffino/Clear-Floats-Button/issues/1)

### 1.0.0

- Created new version from [stale plugin](https://wordpress.org/plugins/tinymce-clear-buttons/)
- Revamped graphic assets
- Removed clear:left and clear:right buttons
- Changed plugin so we don't have inline styles.

## Frequently Asked Questions

1. Why do you need to clear the floats?
Well, sometimes you want to add two floating images but don't want them to overlap. Or you want to add an image floated to the left and text on the right, and then add a new block. You can add a clear in
the middle to achieve the desired effect.

## Screenshots

1. The added clear button
2. The html block
