Skip to content

Is CoreCode block example still working? #1643

Discussion options

You must be logged in to vote

Hey @bilalmalkoc. You have all the scaffolding correct for this implementation except for one thing. That's the WordPressBlocksViewer. It is briefly mentioned in the docs but we noticed it could be called out a little better and I have ticketed for us to add more detail around the viewer. You have queried and created all you need for getting the data for the CoreCode block but now you need to display it. That is done using the WordPressBlocksViewer.

Note: You can verify you have all the correct data by logging the editorBlocks portion of your query.

You can see a quick reference from the documentation here to use the WordPressBlocksViewer to display the blocks but the full doc is here. On…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bilalmalkoc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants