Linux 软件免费装
Banner图

Image Text Wrap

开发者 cmtkennyb
更新时间 2026年8月25日 07:17
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

image block float wrap text text wrap

下载

1.3.4

详情介绍:

Image Text Wrap adds a Gutenberg block that flows your body text around an image the way a page-layout program does. Drop the block into a post, type your paragraphs after it, and the text reflows around the image. You get real control over the wrap instead of the all-or-nothing float the core Image block gives you: The block saves as plain HTML with inline styles, so published posts keep rendering even across editor updates. There is no build step and no external dependencies. A note on wrapping: text flows above, beside (one side), and below the image. Text hugging both sides of a centered image at once is not supported, because the browser feature required for it (CSS Exclusions) does not exist in current browsers.

安装:

  1. Upload the image-text-wrap folder to /wp-content/plugins/, or install the plugin through the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. In the post editor, add the Image Text Wrap block, choose an image, and type your paragraphs after it. Adjust the wrap in the block's Text Wrap panel.

屏幕截图:

  • The Text Wrap panel controls: wrap type, position, wrap around, vertical offset, per-side gaps, display width, caption, and the Typography styles.
  • Contour ellipse wrap in the editor: text follows an ellipse standing off the image by a uniform contour offset.
  • Contour circle wrap in the editor: text hugs a circle around the image and its caption.
  • Bounding box wrap in the editor, with the block's List View and Text Wrap panel open.

升级注意事项:

1.3.4 Documentation cleanup only; no functional changes. 1.3.3 Restores the Caption field to the block sidebar and keeps the security hardening from 1.3.1. Update recommended for all users. 1.3.2 Rescues blocks that used the silhouette contour wrap removed in 1.2.0; they now validate and migrate to the ellipse contour instead of showing a block error. 1.3.1 Adds deprecated save formats so posts published under any earlier version upgrade without block errors, and hardens the caption and wrap styles against KSES stripping. Update recommended for all users. 1.3.0 Reworks wrapping into Bounding box and Contour modes with proper per-side and contour offset controls, and fixes shapes being ignored with offsets or captions. Re-save existing Image Text Wrap blocks to pick up the corrected wrap. 1.2.0 Removes the contour (silhouette) wrap shape. Other wrap shapes are unchanged; no action needed. 1.1.1 Housekeeping release. Removes the one-time migration code; no functional change and no action needed. 1.1.0 Adds image captions. Existing content is migrated automatically on first admin load after updating; back up your database first as a precaution. 1.0.0 Initial release.

常见问题:

How do I get text above the image?

Raise the Vertical offset slider. The text that flows above the image comes from the block placed immediately after it, so make sure a paragraph follows the image block.

Can text wrap around all four sides of a centered image?

No. Text flows above, below, and on one side. Simultaneous wrapping on both sides of a mid-column image requires CSS Exclusions, which no current browser supports.

Does it work on mobile?

Yes. Below 600px the image drops to full width with text above and below, so a narrow column never gets squeezed. Above that it keeps the float and wrap.

Does it need a build step?

No. The block is authored in plain JavaScript against the WordPress editor APIs, with no compile step, bundler, or external libraries.

更新日志:

1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.0 1.1.1 1.1.0 1.0.0