You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment such a function does not exist. Mainly because block types are only registered in JavaScript and on the server you have no idea which blocks exist.
However, server-side block registration is planned as per #2751. Once that is done, we will be able to provide such a function for developers.
If you're adventurous, I think you can still use a node script running jsdom and use the wp.blocks.rawHandler function. Otherwise, you should wait for phase 2 work around server side awareness of blocks #2751
Hello,
we have several thousand articles and would like to save ourselves the trouble of manually converting them all to Gutenberg. Is there a way?
Thanks for your help!
The text was updated successfully, but these errors were encountered: