Import into gutenberg data block
-
Hi, i have some standard content from an old wordpress instance that im wanting to import into a gutenberg block that is set every time a post is created.
In this import to try this i did the following:
<!– wp:acf/single-post-content –>
“id”: “block_6063172cec730”,
“name”: “acf\/single-post-content”,
“data”: “is_featured_post”: “1”,
“_is_featured_post”: “field_5f578cc6cf7ba”,
“post_content”: “tester”,
“_post_content”: “field_5f578c782976d”
“mode”: “edit”
<!– /wp:acf/single-post-content –>This works and actually adds to block but because the “data”: isnt like this {} its not working, however when i add the {} it doesnt pass the data in, it does without but obviously doesnt work to see it
Have you done anything like this before?
The topic ‘Import into gutenberg data block’ is closed to new replies.