Title: Clear Floats Button
Author: Graffino
Published: <strong>26 أكتوبر، 2015</strong>
Last modified: 3 نوفمبر، 2026

---

البحث عن الإضافات

![](https://ps.w.org/clear-floats-button/assets/banner-772x250.png?rev=3782440)

![](https://ps.w.org/clear-floats-button/assets/icon.svg?rev=3782440)

# Clear Floats Button

 بواسطة [Graffino](https://profiles.wordpress.org/graffino/)

[تنزيل](https://downloads.wordpress.org/plugin/clear-floats-button.2.0.0.zip)

[Live Preview](https://ar.wordpress.org/plugins/clear-floats-button/?preview=1)

 * [تفاصيل](https://ar.wordpress.org/plugins/clear-floats-button/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/clear-floats-button/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/clear-floats-button/#installation)
 * [التطوير](https://ar.wordpress.org/plugins/clear-floats-button/#developers)

 [الدعم](https://wordpress.org/support/plugin/clear-floats-button/)

## الوصف

Float an image to the left or right, and the text after it wraps around the image.
Sometimes the next part of your post must start below the image. A clear does that.

**Block Editor:** add the **Clear floats** block (search for “Clear floats” in the
inserter). Content after the block starts below every floated block above it. You
can also turn a Separator block into a Clear floats block. When you convert a Classic
block to blocks, each clear in it becomes a Clear floats block.

**Classic Editor:** click the **Clear floats** button on the toolbar, or press `
Ctrl + Alt + F` (`Control + Option + F` on macOS). The button also shows in the 
Classic block. Install the [Classic Editor](https://wordpress.org/plugins/classic-editor/)
plugin if you use the Classic Editor screen.

Both editors save the same small element: `<br style="clear:both;">`. It needs no
CSS from your theme, and your posts keep their layout if you deactivate the plugin.

#### Migrate from TinyMCE Clear Float

Clear Floats Button reads the clears of the plugin [TinyMCE Clear Float](https://wordpress.org/plugins/tinymce-clear-buttons/)(`
<br style="clear: both;">`, and the empty `div` of its versions before 1.1). To 
move:

 1. Install and activate Clear Floats Button.
 2. Deactivate TinyMCE Clear Float.
 3. Your posts keep their clears. When you edit a post, each clear shows as a Clear
    floats placeholder.

Originally by [Miguel Ibero](https://wordpress.org/plugins/tinymce-clear-buttons/).

## لقطات الشاشة

[⌊The Clear floats block in the Block Editor: the paragraph after the block starts
below the image.⌉⌊The Clear floats block in the Block Editor: the paragraph after
the block starts below the image.⌉[

The Clear floats block in the Block Editor: the paragraph after the block starts
below the image.

[⌊The Clear floats button in the Classic Editor.⌉⌊The Clear floats button in the
Classic Editor.⌉[

The Clear floats button in the Classic Editor.

[⌊Find the Clear floats block in the inserter.⌉⌊Find the Clear floats block in the
inserter.⌉[

Find the Clear floats block in the inserter.

## المكوّنات

تقدّم هذه الإضافة مكوّن واحد (1).

 *   Clear floats Stops the float of images and other blocks above it. Content below
   starts on a new line.

## التنصيب

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

## الأسئلة المتكررّة

### 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.

### How is the Clear floats block different from the Spacer block?

The Spacer block also clears floats, but it always adds vertical space, and you 
set its height. The Clear floats block adds no space: the content after it starts
directly below the floated image. Its markup is the same as in the Classic Editor,
so it also works in Classic content and when you deactivate the plugin.

### Where do I get support?

Ask your question in the [Support Forums](https://wordpress.org/support/plugin/clear-floats-button).
Please note that due to restricted time availability we’re not actively answering
questions, unless a real bug is reported. See: “What should I try before reporting
a bug” section.

### What should I try before reporting a bug?

 1. Disable all your plugins except “Clear Floats Button”.
 2. See if the plugin behaves normally with the default WordPress theme.
 3. Try to run the plugin on a clean WordPress install.

If all of this fails, see: “How should I report bugs?” section.

### How should I report bugs?

Please report your bug on [GitHub](https://github.com/Graffino/Clear-Floats-Button/issues).
Issues will not be handled elsewhere.

Make sure you attach to the report:
 1. Your WordPress version 2. Your plugin version
3. Screenshots 4. Steps to reproduce the problem 5. Anything else you think would
be useful to pinpoint the problem

### How do I request a feature?

We’re supporting this plugin but not actively developing it. If you’re interested
to contribute you can submit a PR on [GitHub](https://github.com/Graffino/Clear-Floats-Button/pulls).

### How do I get the plugin in my own language?

You’ll have to do it yourself. Help [translate this plugin](https://translate.wordpress.org/projects/wp-plugins/clear-floats-button).

## المراجعات

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

### 󠀁[Still a critical addition to the Classic Editor](https://wordpress.org/support/topic/still-a-critical-addition-to-the-classic-editor/)󠁿

 [Sea Jay](https://profiles.wordpress.org/jcollier/) 17 ديسمبر، 2024 1 reply

This plugin is still a critical addition to the Classic Editor.

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

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

 [Steve D.](https://profiles.wordpress.org/sdowney2002/) 13 فبراير، 2021 1 reply

Simple and elegant. I needed a fool-proof solution for non-tech clients who like
to float text around images. This is exactly what I needed. Thanks!

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

### 󠀁[Indispensable](https://wordpress.org/support/topic/indispensable-90/)󠁿

 [Ypanesa](https://profiles.wordpress.org/ypanesa/) 5 نوفمبر، 2016 1 reply

This plugin I've missed for about 10 years. Finally I found it by chance. I am totally
happy with it. It helps so much organizing and designing longer texts with pictues.
It should be included in TinyMCE. Thank you!

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

### 󠀁[Exactly what I needed](https://wordpress.org/support/topic/exactly-what-i-needed-344/)󠁿

 [cassihl](https://profiles.wordpress.org/cassihl/) 3 سبتمبر، 2016 1 reply

Perfect. Super easy solution.

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

### 󠀁[Perfect solution – why is this not in TinyMCE already?](https://wordpress.org/support/topic/perfrect-solution-why-is-this-not-in-tinymce-already/)󠁿

 [GregW](https://profiles.wordpress.org/gwmbox/) 3 سبتمبر، 2016 1 reply

This is one of those 'why is there a plugin for this' type plugin. As in this should
already be available in the TinyMCE editor by default. A must have plugin for WYSIWYG
editors, thanks very much for this easy to install and use plugin 🙂

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

### 󠀁[Very easy to use and does what is says](https://wordpress.org/support/topic/very-easy-to-use-and-does-what-is-says/)󠁿

 [](https://profiles.wordpress.org/miohtama/) 3 سبتمبر، 2016 1 reply

Now bloggers don't have to add multiple enter presses if putting multiple align 
left images on the same line.

 [ إقرأ جميع المراجعات 6 ](https://wordpress.org/support/plugin/clear-floats-button/reviews/)

## المساهمون والمطوّرون

“Clear Floats Button” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في 
هذه الإضافة.

المساهمون

 *   [ Graffino ](https://profiles.wordpress.org/graffino/)
 *   [ Zeno Popovici ](https://profiles.wordpress.org/zenopopovici/)
 *   [ miguelibero ](https://profiles.wordpress.org/miguelibero/)

[ترجمة ”Clear Floats Button“ إلى لغتك.](https://translate.wordpress.org/projects/wp-plugins/clear-floats-button)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/clear-floats-button/)،
تحقق من [مستودع SVN](https://plugins.svn.wordpress.org/clear-floats-button/)، أو
الاشتراك في [سجل التطوير](https://plugins.trac.wordpress.org/log/clear-floats-button/)
بواسطة [RSS](https://plugins.trac.wordpress.org/log/clear-floats-button/?limit=100&mode=stop_on_copy&format=rss).

## سجل التغييرات

#### 2.0.0

 * New: a Clear floats block for the Block Editor. It saves the same `<br style="
   clear:both;">` as the Classic Editor button.
 * New icon, banners and screenshots.
 * New placeholder line in both editors: sharp on Retina screens, drawn with CSS
   only (no image requests).
 * Faster block registration on WordPress 6.7 and later (block metadata manifest).
 * New: a live preview on WordPress.org (WordPress Playground).
 * New: reads the clears of the plugin TinyMCE Clear Float (`<br style="clear: both;"
   >` and its empty `div`), for an easy move.
 * New: “Convert to blocks” and paste turn each clear into a Clear floats block.
 * Compatibility with WordPress 7.1.
 * Requires PHP 8.1 or later and WordPress 5.9 or later.
 * Load the editor script with `plugins_url()`, so the plugin works from any folder
   name.
 * Fix the tooltip shortcut on Windows and Linux (`Ctrl+Alt+F`).
 * Use `user_can_richedit()` and add a direct-access guard.
 * Remove the unused text domain loader and unused editor code.

#### 1.2.5

 * Compatibility with current WP version.

#### 1.2.4

 * Compatibility with future WP version.

#### 1.2.3

 * Update assets.

#### 1.2.2

 * Compatibility with future WP version.

#### 1.2.1

 * Remove unneeded translation strings. Fixes [Issue #12](https://github.com/Graffino/Clear-Floats-Button/issues/12)
 * Compatibility with future WP version.

#### 1.2.0

 * OOP rewrite by @jaredyork

#### 1.1.6

 * Compatibility with future WP version.

#### 1.1.5

 * Compatibility with future WP version.

#### 1.1.4

 * Fix for undefined variable.

#### 1.1.3

 * Cleanup & improved documentation. Added translation tags.

#### 1.1.2

 * Correctly named variable. Fixes [Issue #10](https://github.com/Graffino/Clear-Floats-Button/issues/10)

#### 1.1.1

 * Editor not loading due to SVN processing error. Bumping version & correcting 
   documentation. Sorry for that! Fixes [Issue #8](https://github.com/Graffino/Clear-Floats-Button/issues/8),
   [Issue #9](https://github.com/Graffino/Clear-Floats-Button/issues/9)

#### 1.1.0

 * Changed to inline styling. Fixes [Issue #7](https://github.com/Graffino/Clear-Floats-Button/issues/7),
   [Issue #5](https://github.com/Graffino/Clear-Floats-Button/issues/5)
 * Uses `br` instead of `div`. Fixes [Issue #6](https://github.com/Graffino/Clear-Floats-Button/issues/6)
 * New icon to better represent clearing of floats.
 * Minified assets for performance.
 * Add ‘ctrl + option/alt + f’ shortcut
 * Removed deprecated functions
 * Updated assets, icons, background, screenshot

#### 1.0.10

 * Compatibility with future version of WP

#### 1.0.9

 * This ensures that such themes will not make the divider appear
    taller than intended.
   [Issue #3](https://github.com/Graffino/Clear-Floats-Button/pull/4)

#### 1.0.8

 * Compatibility with future version of WP

#### 1.0.7

 * Fixed miss interpretation of TinyMCE api regarding custom_elements. This prevented
   the plugin from working in IE [Issue #3](https://github.com/Graffino/Clear-Floats-Button/issues/3)

#### 1.0.6

 * Compatibility with future version of WP

#### 1.0.5

 * Fixed stripping of IDs on DIVs – Extended valid elements fix for cases in which
   extended elements are not defined [Issue #1](https://github.com/Graffino/Clear-Floats-Button/issues/1)

#### 1.0.4

 * Fixes not loading CSS when user is not logged-in [Issue #2](https://github.com/Graffino/Clear-Floats-Button/issues/1)

#### 1.0.3

 * Updated assets for WP Plugin Directory (2)

#### 1.0.2

 * Updated assets for WP Plugin Directory

#### 1.0.1

 * Fixed stripping of IDs on DIVs [Issue #1](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.

## ميتا Meta

 *  Version **2.0.0**
 *  Last updated **قبل أسبوع واحد**
 *  Active installations **2٬000+**
 *  WordPress version ** 5.9 أو أعلى **
 *  Tested up to **7.1.4**
 *  PHP version ** 8.1 أو أعلى **
 *  Language
 * [English (US)](https://wordpress.org/plugins/clear-floats-button/)
 * Tags
 * [block](https://ar.wordpress.org/plugins/tags/block/)[classic editor](https://ar.wordpress.org/plugins/tags/classic-editor/)
   [clear](https://ar.wordpress.org/plugins/tags/clear/)[float](https://ar.wordpress.org/plugins/tags/float/)
   [tinyMCE](https://ar.wordpress.org/plugins/tags/tinymce/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/clear-floats-button/advanced/)

## التقييم

 5 من 5 نجوم.

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

[Your review](https://wordpress.org/support/plugin/clear-floats-button/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/clear-floats-button/reviews/)

## المساهمون

 *   [ Graffino ](https://profiles.wordpress.org/graffino/)
 *   [ Zeno Popovici ](https://profiles.wordpress.org/zenopopovici/)
 *   [ miguelibero ](https://profiles.wordpress.org/miguelibero/)

## الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

 [عرض منتدى الدعم](https://wordpress.org/support/plugin/clear-floats-button/)

## تبرع

هل ترغب في تقديم دعم متقدم لهذه الإضافة؟

 [ تبرع لهذه الإضافة ](https://www.paypal.me/zenopopovici/)