Title: TinyMCE Clear Float
Author: Philipp Bammes
Published: <strong>28.04.2010</strong>
Last modified: 01.08.2018

---

Пошук плагінаў

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/tinymce-clear-buttons/assets/icon.svg?rev=1582181)

# TinyMCE Clear Float

 Аўтар: [Philipp Bammes](https://profiles.wordpress.org/tyrannous/)

[Спампаваць](https://downloads.wordpress.org/plugin/tinymce-clear-buttons.1.3.2.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/tinymce-clear-buttons/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/tinymce-clear-buttons/#reviews)
 * [Распрацоўка](https://bel.wordpress.org/plugins/tinymce-clear-buttons/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/tinymce-clear-buttons/)

## Апісанне

Adds a button to the WordPress TinyMCE editor to clear floats.

## Скрыншоты

[⌊Before: Floated images in the editor. The second image overlaps the first.⌉⌊Before:
Floated images in the editor. The second image overlaps the first.⌉[

Before: Floated images in the editor. The second image overlaps the first.

[⌊After: Added clear tag (see new icon in second toolbar).⌉⌊After: Added clear tag(
see new icon in second toolbar).⌉[

After: Added clear tag (see new icon in second toolbar).

[⌊Markup in the Text Editor (notice <br style="clear: both;">).⌉⌊Markup in the Text
Editor (notice <br style="clear: both;">).⌉[

Markup in the Text Editor (notice `<br style="clear: both;">`).

## Часта задаваныя пытанні

  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.

## Водгукі

![](https://secure.gravatar.com/avatar/bcb5869332abf45b54caa7da58553d098ba732ea67efb4812421496fd49fa6e2?
s=60&d=retro&r=g)

### 󠀁[Works perfectly, thanks!!](https://wordpress.org/support/topic/works-perfectly-thanks-13/)󠁿

 [SforSteph](https://profiles.wordpress.org/sforsteph/) 15.02.2019 1 адказ

The issue of text appearing up between two images (one floated left, one floated
right) was driving me mad and would've looked awful to my client. This plugin quickly
and easily solved it – thank you!!

![](https://secure.gravatar.com/avatar/94a09d89b2cc214eef00a8beecbb6c69377c4fa7117adaf198c6c949c96552cc?
s=60&d=retro&r=g)

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-2055/)󠁿

 [Certa Web](https://profiles.wordpress.org/certa/) 29.06.2018 1 адказ

The plugin is very easy to use and a great help for our web editors.

![](https://secure.gravatar.com/avatar/48f35c553fba8e7a6a9711d869d1b752f6ae3816ec557be0fe422da9517bffdc?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-4350/)󠁿

 [Kimball31](https://profiles.wordpress.org/kimball31/) 07.09.2017 1 адказ

Thanks so much!

![](https://secure.gravatar.com/avatar/90da4dbbccef212dd2d78a31440bff0cd4c962a8a7d917dfff142bb05f0e7852?
s=60&d=retro&r=g)

### 󠀁[Solve my problem. Easy to use and very handy.](https://wordpress.org/support/topic/solve-my-problem-easy-to-use-and-very-handy/)󠁿

 [Alexandre Gaeta](https://profiles.wordpress.org/agaeta/) 28.04.2017 1 адказ

Save some work using this plugin… It´s an easy and similar to a CLEAR:BOTH CSS TAG,
that helps images and blocks alingment .

 [ Чытаць усе 6 водгукаў ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/)

## Удзельнікі і распрацоўшчыкі

“TinyMCE Clear Float” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам.
Наступныя людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

 *   [ Philipp Bammes ](https://profiles.wordpress.org/tyrannous/)

“TinyMCE Clear Float” перакладзены на 1 мову. Дзякуй [перакладчыкам](https://translate.wordpress.org/projects/wp-plugins/tinymce-clear-buttons/contributors)
за іх унёсак.

[Перакласці “TinyMCE Clear Float” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/tinymce-clear-buttons)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/tinymce-clear-buttons/),
праверце [SVN рэпазітарый](https://plugins.svn.wordpress.org/tinymce-clear-buttons/),
або падпішыцеся на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/tinymce-clear-buttons/)
па [RSS](https://plugins.trac.wordpress.org/log/tinymce-clear-buttons/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

#### 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 (`<div style="clear: both;">&nbsp;
   </div>`)

#### 1.3.1 (05/20/2018)

 * Fix: Bug (introduced in v1.3.0) that hid the TinyMCE content if no clear element
   was found

#### 1.3.0 (05/19/2018)

 * Fix: Replaced regular expressions for switching clear elements with placeholders
   and vice versa with DOMParser to reliably match all possible clear element notations(
   e. g. `<br style="clear: both;">`, `<br style="clear:both">`, `<br style="clear:
   both;" />`, `<br style="clear:both" />`)

#### 1.2.2 (05/25/2017)

 * Fix: Rare bug (introduced in v1.2.0) that caused TinyMCE to remove the `<br /
   >` tag
 * Fix: Bug (introduced in v1.2.0) that prevented the plugin from beeing [translatable](https://translate.wordpress.org/projects/wp-plugins/tinymce-clear-buttons)(
   finally)
 * Misc: Bumped “Requires at least” to WordPress 4.6

#### 1.2.1 (03/30/2017)

 * Fix: Bug (introduced in v1.2.0) that prevented the plugin from beeing [translatable](https://translate.wordpress.org/projects/wp-plugins/tinymce-clear-buttons)

#### 1.2.0 (01/26/2017)

 * New maintainer; first update after seven years
 * Feature: Removed clear left and clear right buttons (see [FAQ section](https://wordpress.org/plugins/tinymce-clear-buttons/#faq))
 * Misc: Completely refactured plugin code

#### 1.1 (05/10/2010)

 * Feature: Added HTML block in the style of WordPress

#### 1.0 (04/28/2010)

 * Initial release

## Мета

 *  Версія **1.3.2**
 *  Апошняе абнаўленне **8 гадоў таму**
 *  Актыўных установак **10 000+**
 *  Версія WordPress ** 4.6 або вышэй **
 *  Правераны да версіі **4.9.33**
 *  Мовы
 * [English (US)](https://wordpress.org/plugins/tinymce-clear-buttons/) і .[German](https://de.wordpress.org/plugins/tinymce-clear-buttons/).
 *  [Перакласці на сваю мову](https://translate.wordpress.org/projects/wp-plugins/tinymce-clear-buttons)
 * Тэгі
 * [clear](https://bel.wordpress.org/plugins/tags/clear/)[formatting](https://bel.wordpress.org/plugins/tags/formatting/)
   [tinyMCE](https://bel.wordpress.org/plugins/tags/tinymce/)[Wordpress Editor](https://bel.wordpress.org/plugins/tags/wordpress-editor/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/tinymce-clear-buttons/advanced/)

## Ацэнкі

 5 з 5 зорак.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/?filter=1)

[Ваш водгук](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/#new-post)

[Паглядзець усе водгукі](https://wordpress.org/support/plugin/tinymce-clear-buttons/reviews/)

## Удзельнікі

 *   [ Philipp Bammes ](https://profiles.wordpress.org/tyrannous/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/tinymce-clear-buttons/)

## Падтрымаць

Ці жадаеце вы падтрымаць развіццё гэтага плагіна?

 [ Ахвяруйце на гэты плагін ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T5JM3KRTUBEZA)