Title: Block X-ray Attributes
Author: Sal Ferrarello
Published: <strong>2022 年 2 月 2 日</strong>
Last modified: 2026 年 1 月 13 日

---

搜索插件

![](https://ps.w.org/block-xray-attributes/assets/banner-772x250.png?rev=3109413)

![](https://ps.w.org/block-xray-attributes/assets/icon.svg?rev=3109413)

# Block X-ray Attributes

 作者：[Sal Ferrarello](https://profiles.wordpress.org/salcode/)

[下载](https://downloads.wordpress.org/plugin/block-xray-attributes.1.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/block-xray-attributes/#description)
 * [评价](https://cn.wordpress.org/plugins/block-xray-attributes/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/block-xray-attributes/#developers)

 [支持](https://wordpress.org/support/plugin/block-xray-attributes/)

## 描述

This plugin adds a section called “Block X-ray” to the Document sidebar in the editor.
This “Block X-ray” section displays the attributes for the currently selected block.

## 屏幕截图

 * [[
 * The **Block X-ray** section in the document sidebar

## 常见问题

### Where is this plugin developed?

Development of this code happens at [github.com/salcode/block-xray-attributes](https://github.com/salcode/block-xray-attributes)

### Why Don’t I See an Update from 1.1.0

When the initial version (`1.1.0`) was uploaded to the WordPress.org plugin repository,
the [Update URI plugin header](https://make.wordpress.org/core/2021/06/29/introducing-update-uri-plugin-header-in-wordpress-5-8/)
was accidentally included. This plugin header prevents downloading updates from 
the WordPress.org API.

The `Update URI` header is very useful when your plugin is NOT hosted on the WordPress.
org repository. However, now that the plugin is hosted on the WordPress.org repository,
the `Update URI` plugin header should not be included.

If you are stuck on version `1.1.0` and want the latest version, you should `Delete`
this plugin and reinstall it.

Once you move beyond version `1.1.0`, you should no longer experience this problem.

### Where did you get your graphics?

The banner and icon assets were created from the [Medical Xray SVG Vector](https://www.svgrepo.com/svg/444138/medical-xray)
by Diemen Design and are licensed under the MIT License.

## 评价

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

### 󠀁[Very useful plugin](https://wordpress.org/support/topic/very-useful-plugin-1502/)󠁿

 [Nazar Hotsa](https://profiles.wordpress.org/bugnumber9/) 2024 年 1 月 4 日

Thanks for creating this plugin, it’s very helpful for development!

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

### 󠀁[Awesome!!](https://wordpress.org/support/topic/awesome-10076/)󠁿

 [aliorg7](https://profiles.wordpress.org/aliorg7/) 2023 年 9 月 19 日

Awesome!!

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

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-10053/)󠁿

 [Amor Kumar](https://profiles.wordpress.org/itsamoreh/) 2023 年 8 月 20 日

Very handy!

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

### 󠀁[So useful!](https://wordpress.org/support/topic/so-useful-104/)󠁿

 [Lukasz](https://profiles.wordpress.org/wpfed/) 2022 年 5 月 12 日

This is great to create block variations from. And now with block and theme.json
it will be even more useful to figure out all those attributes.

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/)

## 贡献者及开发者

「Block X-ray Attributes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Sal Ferrarello ](https://profiles.wordpress.org/salcode/)

「Block X-ray Attributes」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/block-xray-attributes/contributors)
为本插件所做的贡献。

[帮助将「Block X-ray Attributes」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/block-xray-attributes)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/block-xray-attributes/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/block-xray-attributes/)，或通过[RSS](https://plugins.trac.wordpress.org/log/block-xray-attributes/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/block-xray-attributes/)。

## 更新日志

### 1.2.1

 * Add Banner and Icon assets (see [How Your Plugin Assets Work](https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/)
   from the WordPress Plugin Handbook)

### 1.2.0

 * Add `Copy Block Data` button ([#17 Add button to copy data](https://github.com/salcode/block-xray-attributes/issues/17))
 * Update `@wordpress/scripts` from `20.0.1` to `22.5.0` ([#23 Update @wordpress/scripts to latest version](https://github.com/salcode/block-xray-attributes/issues/23))

### 1.1.1

 * Remove “Update URI” from plugin headers

### 1.1.0

 * Change “Requires at least” to `5.5`
 * Rename `SelectedBlockAttributes` component to `BlockXray`
 * Add Higher Order Component `WithSelectedBlock`

### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**5 月前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (Canada)](https://en-ca.wordpress.org/plugins/block-xray-attributes/)
   和 [English (US)](https://wordpress.org/plugins/block-xray-attributes/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/block-xray-attributes)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[block attributes](https://cn.wordpress.org/plugins/tags/block-attributes/)
   [developer](https://cn.wordpress.org/plugins/tags/developer/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
 *  [高级视图](https://cn.wordpress.org/plugins/block-xray-attributes/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/block-xray-attributes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-xray-attributes/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/block-xray-attributes/reviews/)

## 贡献者

 *   [ Sal Ferrarello ](https://profiles.wordpress.org/salcode/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/block-xray-attributes/)