Closed douglas-johnson closed 1 month ago
wp.editPost.PluginDocumentSettingPanel is deprecated since version 6.6. Please use wp.editor.PluginDocumentSettingPanel instead.
@jessica-townsend Do you recall why this Network Link icon is wrapped in a <Button>
component? It throws a warning about <button>
not having a setAttributes
property, and I'm not sure we need this button at all.
https://github.com/thoughtis/cata-blocks/blob/0.9.5/blocks/network-link/src/edit.js#L49
@douglas-johnson I think it's because I was referencing the social link core block which uses a button: https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/social-link/edit.js#L166
But I don't think we need it on ours
Testing with WordPress 6.6 before updating the build process to use the new JSX runtime resulted in the following JavaScript warnings. I did not find any errors that broke functionality.
I will follow up with any issue I encounter after updating to use the JSX runtime.
More on the runtime change: https://make.wordpress.org/core/2024/06/06/jsx-in-wordpress-6-6/
We'll have to search for these:
Network Link
Shopify