BlockContextProvider not working when used in 'editor.BlockEdit' hook with WordPress 6.3 #53869
Labels
[Feature] Blocks
Overall functionality of blocks
[Type] Bug
An existing feature does not function as intended
Description
In WordPress 6.3 the
<BlockContextProvider>
stops working, whereas it was working previously in WordPress 6.2.2.Here I tried to change the editor preview for dynamic query blocks, and get result as per default 'Hello World' post (instead of current active post). I've attached the snipett which I used.
Did something updated? Any alternative WordPress suggests?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Working fine with 6.2.2 - https://d.pr/i/t90Fvu (Post Title block showing title as per hello world post)
Breaking with 6.3 - https://d.pr/i/gZJR8J (Post title block pointing to current active post's title)
Code snipett I used-
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: