{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/12333","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12333/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12333/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12333/events","html_url":"https://github.com/WordPress/gutenberg/issues/12333","id":384520227,"node_id":"MDU6SXNzdWUzODQ1MjAyMjc=","number":12333,"title":"Copied wide-aligned blocks keep the alignment even in themes that don't support it","user":{"login":"webmandesign","id":2456735,"node_id":"MDQ6VXNlcjI0NTY3MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2456735?v=4","gravatar_id":"","url":"https://api.github.com/users/webmandesign","html_url":"https://github.com/webmandesign","followers_url":"https://api.github.com/users/webmandesign/followers","following_url":"https://api.github.com/users/webmandesign/following{/other_user}","gists_url":"https://api.github.com/users/webmandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/webmandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmandesign/subscriptions","organizations_url":"https://api.github.com/users/webmandesign/orgs","repos_url":"https://api.github.com/users/webmandesign/repos","events_url":"https://api.github.com/users/webmandesign/events{/privacy}","received_events_url":"https://api.github.com/users/webmandesign/received_events","type":"User","site_admin":false},"labels":[{"id":630674253,"node_id":"MDU6TGFiZWw2MzA2NzQyNTM=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Status]%20Needs%20More%20Info","name":"[Status] Needs More Info","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"jorgefilipecosta","id":11271197,"node_id":"MDQ6VXNlcjExMjcxMTk3","avatar_url":"https://avatars1.githubusercontent.com/u/11271197?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgefilipecosta","html_url":"https://github.com/jorgefilipecosta","followers_url":"https://api.github.com/users/jorgefilipecosta/followers","following_url":"https://api.github.com/users/jorgefilipecosta/following{/other_user}","gists_url":"https://api.github.com/users/jorgefilipecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgefilipecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgefilipecosta/subscriptions","organizations_url":"https://api.github.com/users/jorgefilipecosta/orgs","repos_url":"https://api.github.com/users/jorgefilipecosta/repos","events_url":"https://api.github.com/users/jorgefilipecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jorgefilipecosta/received_events","type":"User","site_admin":false},"assignees":[{"login":"jorgefilipecosta","id":11271197,"node_id":"MDQ6VXNlcjExMjcxMTk3","avatar_url":"https://avatars1.githubusercontent.com/u/11271197?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgefilipecosta","html_url":"https://github.com/jorgefilipecosta","followers_url":"https://api.github.com/users/jorgefilipecosta/followers","following_url":"https://api.github.com/users/jorgefilipecosta/following{/other_user}","gists_url":"https://api.github.com/users/jorgefilipecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgefilipecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgefilipecosta/subscriptions","organizations_url":"https://api.github.com/users/jorgefilipecosta/orgs","repos_url":"https://api.github.com/users/jorgefilipecosta/repos","events_url":"https://api.github.com/users/jorgefilipecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jorgefilipecosta/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-26T21:35:12Z","updated_at":"2018-12-17T17:18:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## How to recreate\r\n\r\nCopy the sample Gutenberg post content from https://wordpress.org/gutenberg/ (by switching to \"Code Editor\" view). And paste it into a test post on a website using a _theme that does not support wide/full alignment_ of blocks.\r\n\r\nEverything works as expected on a website front-end, however, when editing the post user keeps seeing the cover image full aligned. But there are no wide/full alignment buttons when editing the block.\r\n\r\nWhen the block alignment is changed to left/right/center, the block is displayed correctly in admin too, matching the width of the other content elements/blocks.\r\n\r\n## The issue\r\n\r\nThis might bring a confusion to a user copying content from one source to another. User might want to recreate the full alignment, but failing doing so, and failing understanding how it actually works.\r\n\r\n## Expected behavior\r\n\r\nWhen copying wide/full aligned block from a website that supports such alignment into a website that does not, the block should not be wide/full aligned when editing the post.\r\n\r\n## Screenshots\r\n\r\n![Copied full aligned image block into a site that does not support such alignment](http://easycaptures.com/fs/uploaded/1330/8475693958.png)\r\n\r\n**Additional context**\r\n- Gutenberg v4.5.1\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/447925201","html_url":"https://github.com/WordPress/gutenberg/issues/12333#issuecomment-447925201","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12333","id":447925201,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzkyNTIwMQ==","user":{"login":"designsimply","id":1119271,"node_id":"MDQ6VXNlcjExMTkyNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1119271?v=4","gravatar_id":"","url":"https://api.github.com/users/designsimply","html_url":"https://github.com/designsimply","followers_url":"https://api.github.com/users/designsimply/followers","following_url":"https://api.github.com/users/designsimply/following{/other_user}","gists_url":"https://api.github.com/users/designsimply/gists{/gist_id}","starred_url":"https://api.github.com/users/designsimply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designsimply/subscriptions","organizations_url":"https://api.github.com/users/designsimply/orgs","repos_url":"https://api.github.com/users/designsimply/repos","events_url":"https://api.github.com/users/designsimply/events{/privacy}","received_events_url":"https://api.github.com/users/designsimply/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T17:18:14Z","updated_at":"2018-12-17T17:18:14Z","author_association":"CONTRIBUTOR","body":"@manake also pointed out in #12948 that disabling `align-wide` doesn't refresh the block and I think we can consolidate that report here as well:\r\n\r\n> Steps to reproduce the behavior:\r\n> 1. In functions.php add `add_theme_support( 'align-wide' );`\r\n> 2. Create a new post with a full wide image and save it.\r\n> 3. In functions.php remove `add_theme_support( 'align-wide' );`\r\n> 4. Open the post editing screen and see that the image is still full wide."}}
{"actor":{"display_login":"designsimply"}}