Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Maybe the right approach is patching the UseCommandLoader code block, but I am not sure if that is the case, as they are two different methods. I would appreciate some guidance. Another option is to replace https://developer.wordpress.org/block-editor/reference-guides/packages/packages-commands/#usecommandloader With #registerCommandLoader with the example |
|
Hi @tomepajk, sorry for the late reply.
Could you explain this point a bit more? If the |
What?
I tried using the example above, useCommandLoader, which cannot be run in a plugin.
The attached example is functional out of the box ( can be just copy pasted as a starting point ).
Why?
The useCommandLoader has synthax errors and incomplete imports, increasing the barrier of acceptance.
How?