Linux 软件免费装

Jamie's Visual HTML Editor

开发者 jamiemarsland
更新时间 2026年6月23日 21:33
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

images custom html block editor inline editing full width

下载

0.1

详情介绍:

Jamie's Visual HTML Editor enhances the core Custom HTML block so you can paste in any HTML and let editors change the copy and images without touching the markup. Content is stored as a native Custom HTML block, so revisions and saving work exactly as they do in core. The plugin only changes how the block is edited and aligned. This plugin is open source. See the Development section below for the full human-readable source code and build instructions.

安装:

  1. Upload the jamies-visual-html-editor folder to the /wp-content/plugins/ directory, or install the plugin through the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Add or select a Custom HTML block in the block editor and use the "Edit content" / "Edit code" toolbar buttons. Use the alignment control for Wide or Full width.

屏幕截图:

  • Clicking an image opens the replace modal: choose from the Media Library, paste a URL, or update alt text.
  • Wide and Full width alignment options in the block toolbar for full-bleed sections.

升级注意事项:

0.1 Initial release.

常见问题:

Which blocks does this affect?

It enhances the core Custom HTML block (core/html). Other blocks are unchanged.

Will it change my saved HTML?

The block is still stored as a standard Custom HTML block. Editing text updates the words; editing an image updates its src and alt attributes. Structure, classes, and styles stay unchanged. Switch to "Edit code" to see the raw markup.

Can I replace images?

Yes. In "Edit content" mode, click an image to open a modal where you can choose a replacement from the Media Library, paste an external URL, or edit the alt text.

Can I replace hero background images?

Yes. In "Edit content" mode, hover a hero section whose background is set inline or in a <style> block inside the HTML, then click Edit background. You can also tag any element with data-vc-bg and an inline background-image. Gradients layered with a photo are supported — only the photo URL is swapped.

Why isn't my section full width?

Set the block's alignment to Full width using the block toolbar. The block must be a direct child of the content area for the theme's layout to break it out.

更新日志:

0.1