block-xray-attributes
block-xray-attributes copied to clipboard
"PluginDocumentSettingPanel requires a name property." Warning
We're seeing the following warning in the browser console
PluginDocumentSettingPanel requires a name property. Error Component Stack
Proposed Solution
Update
https://github.com/salcode/block-xray-attributes/blob/516c3f71a4f48a8f75295150dd0df6355cc31551/src/components/BlockXrayPanel/index.js#L13-L18
to
<PluginDocumentSettingPanel
name="block-xray-attributes"
icon="code-standards"
title={__( 'Block X-ray', 'block-xray-attributes' )}
>
<BlockXrayWithSelectedBlock />
</PluginDocumentSettingPanel>
i.e. add name="block-xray-attributes" to PluginDocumentSettingPanel