=== TinyMCE Clear Float ===
Contributors: Tyrannous
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T5JM3KRTUBEZA
Tags: clear, clear floats, formatting, tinymce, wordpress editor, wysiwyg
Requires at least: 4.6
Tested up to: 4.9
Stable tag: 1.3.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Adds a button to the WordPress TinyMCE editor to clear floats.
== Description ==
Adds a button to the WordPress TinyMCE editor to clear floats.
== Screenshots ==
1. Before: Floated images in the editor. The second image overlaps the first.
2. After: Added clear tag (see new icon in second toolbar).
3. Markup in the Text Editor (notice `
`).
== Frequently Asked Questions ==
= Which HTML markup does the plugin use ? =
Line breaks with inline styles (`
`).
> Note: TinyMCE wrapps line breaks in paragraphs which may lead to additional margins depending on your theme. To prevent these margins paste the following in the “Custom CSS” part of the Customizer:
`p > br[style="clear: both;"]:only-child {
content: '';
display: block;
margin-bottom: -1.5em;
}`
The value `1.5em` corresponds to your theme’s `margin-bottom` of `
` tags. == Changelog == = 1.3.2 (08/01/2018) = * Fix: Rare bug (introduced in v1.2.0) that prevented parsing of deprecated clear element if it contained non breaking space (`