gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

`wp.blocks.getBlockTypes()` does not return core blocks making it impossible to create a whitelist of blocks

Open paulwilde opened this issue 8 years ago • 1 comments

The directions as described in the documentation here for whitelisting visible blocks does not work, as it only returns registered custom blocks.

paulwilde avatar Mar 29 '18 23:03 paulwilde

It is a known issue :( It duplicates #4848.

The plan is to resolve it as described in #2751, by moving the process of registration of blocks to the server. The progress can be observed in a more targeted PR: #5802. Thanks for opening this issue regardless! :)

gziolo avatar Mar 30 '18 08:03 gziolo