
Clear Floats Button
v2.0.0Graffino · 2015年10月26日 上架
Clear floats in one click: a button for the Classic Editor and a Clear floats block for the Block Editor.
- 正在使用
- 2,000+
- 评分
- 5.0 / 5
- 累计下载
- 2.9 万
- 最近更新
- 2026年11月4日
截图
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 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 (<br style="clear: both;">, and the empty div of its versions before 1.1). To move:
- Install and activate Clear Floats Button.
- Deactivate TinyMCE Clear Float.
- Your posts keep their clears. When you edit a post, each clear shows as a Clear floats placeholder.
Originally by Miguel Ibero.


