[ad_1]
hello. I’m trying to publish a post from site A to site B using Python and the Rest API.
Both sites are using the Gutenberg editor by default, but when I publish using the Rest API, I get published in the classic editor.
As a result, things like the gallery block used in Gutenberg don’t display properly.
Is there any way to publish with the Rest API while keeping the Gutenberg blocks?
Thanks.
[ad_2]
Recently, I found out about gato graphql. It is a very interesting project and I enjoyed the plugin’s developer presentation at wp builds. Maybe you should check it out.
Among many other things it can be used to synchronize content between sites. As for the blocks, they can fetch data from the graphql server.
u/leoleoloso