TinyMCE Clear Float
Adds a button to the WordPress TinyMCE editor to clear floats.
Adds a button to the WordPress TinyMCE editor to clear floats.
Screenshots & previews.
Frequently asked questions.
Which HTML markup does the plugin use ?
Line breaks with inline styles ( <br style="clear: both;"> ).
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 <p> tags.