Skip to content

Blocks #2240

Answered by ifox
azar-maghsoodi asked this question in Q&A
Blocks #2240
Apr 19, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

In your array of blocks that you pass to the block editor field, instead of gallery, use the name value returned by the command, not the component value.

Or, inside your Gallery.php, implement the getName method and return gallery.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@azar-maghsoodi
Comment options

@ifox
Comment options

@azar-maghsoodi
Comment options

@ifox
Comment options

Answer selected by azar-maghsoodi
@azar-maghsoodi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants