Closed bobbingwide closed 1 year ago
I believe the solution to this is to use useBlockProps()
in the editor and to wrap the Server Side rendering with get_block_wrapper_attributes()
.
This will also enable adding supports
attributes such as:
See also #15
This was fixed in v1.2.0. See #15 for the commit history.
Since Gutenberg 10.4.0 the Children block doesn't produce any results in the block editor.
Also, it seems that the Parent block and the Fields block no longer displays anything. The post ID of the current post is not being passed to the server side rendering.