{"action":"created","issue":{"url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/19","repository_url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin","labels_url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/19/comments","events_url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/19/events","html_url":"https://github.com/royboy789/gutenberg-object-plugin/issues/19","id":376838282,"node_id":"MDU6SXNzdWUzNzY4MzgyODI=","number":19,"title":"Different structure of output in previews/revisions","user":{"login":"jhalvorson","id":10282220,"node_id":"MDQ6VXNlcjEwMjgyMjIw","avatar_url":"https://avatars1.githubusercontent.com/u/10282220?v=4","gravatar_id":"","url":"https://api.github.com/users/jhalvorson","html_url":"https://github.com/jhalvorson","followers_url":"https://api.github.com/users/jhalvorson/followers","following_url":"https://api.github.com/users/jhalvorson/following{/other_user}","gists_url":"https://api.github.com/users/jhalvorson/gists{/gist_id}","starred_url":"https://api.github.com/users/jhalvorson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhalvorson/subscriptions","organizations_url":"https://api.github.com/users/jhalvorson/orgs","repos_url":"https://api.github.com/users/jhalvorson/repos","events_url":"https://api.github.com/users/jhalvorson/events{/privacy}","received_events_url":"https://api.github.com/users/jhalvorson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-02T14:43:17Z","updated_at":"2018-11-26T14:37:07Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nThis plugin has been a massive help. One thing I've noticed is that when viewing the output of a preview it is different to that of a standard post:\r\n\r\n**Preview**\r\n```\r\n{\r\n  \"editor_blocks\": [\r\n    {\r\n      \"attrs\": {...},\r\n      \"blockName\": \"core/paragraph\",\r\n      \"innerBlocks\": [],\r\n      \"innerHTML\": \"<p>just an example</p>\"\r\n    }\r\n  ]\r\n}\r\n```\r\n**Standard**\r\n```\r\n{\r\n  \"editor_blocks\": [\r\n    {\r\n      \"name\": \"core/paragraph\",\r\n      \"data\": {\r\n        \"content\": \"This is a test\",\r\n        \"dropCap\": false\r\n      }\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nI've taken a stab at it but I can't seem to get it to work, do you have any pointers?\r\n\r\nI'm running the latest version from the master branch, WP 4.9.8 and Gutenberg 4.1.1.\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/comments/441660057","html_url":"https://github.com/royboy789/gutenberg-object-plugin/issues/19#issuecomment-441660057","issue_url":"https://api.github.com/repos/royboy789/gutenberg-object-plugin/issues/19","id":441660057,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTY2MDA1Nw==","user":{"login":"royboy789","id":4039786,"node_id":"MDQ6VXNlcjQwMzk3ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/4039786?v=4","gravatar_id":"","url":"https://api.github.com/users/royboy789","html_url":"https://github.com/royboy789","followers_url":"https://api.github.com/users/royboy789/followers","following_url":"https://api.github.com/users/royboy789/following{/other_user}","gists_url":"https://api.github.com/users/royboy789/gists{/gist_id}","starred_url":"https://api.github.com/users/royboy789/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royboy789/subscriptions","organizations_url":"https://api.github.com/users/royboy789/orgs","repos_url":"https://api.github.com/users/royboy789/repos","events_url":"https://api.github.com/users/royboy789/events{/privacy}","received_events_url":"https://api.github.com/users/royboy789/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T14:37:07Z","updated_at":"2018-11-26T14:37:07Z","author_association":"OWNER","body":"Hi @jhalvorson  - looked at this, and haven't spent much time on revisions, I'll have to look at revision more closely. going to add this as a new feature request for a future version."}}
{"actor":{"display_login":"royboy789"}}