{"action":"created","issue":{"url":"https://api.github.com/repos/liferay/alloy-editor/issues/898","repository_url":"https://api.github.com/repos/liferay/alloy-editor","labels_url":"https://api.github.com/repos/liferay/alloy-editor/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/liferay/alloy-editor/issues/898/comments","events_url":"https://api.github.com/repos/liferay/alloy-editor/issues/898/events","html_url":"https://github.com/liferay/alloy-editor/issues/898","id":378054550,"node_id":"MDU6SXNzdWUzNzgwNTQ1NTA=","number":898,"title":"Image alignment Center CSS clashes when switching from IE to Chrome","user":{"login":"fortunatomaldonado","id":31672551,"node_id":"MDQ6VXNlcjMxNjcyNTUx","avatar_url":"https://avatars3.githubusercontent.com/u/31672551?v=4","gravatar_id":"","url":"https://api.github.com/users/fortunatomaldonado","html_url":"https://github.com/fortunatomaldonado","followers_url":"https://api.github.com/users/fortunatomaldonado/followers","following_url":"https://api.github.com/users/fortunatomaldonado/following{/other_user}","gists_url":"https://api.github.com/users/fortunatomaldonado/gists{/gist_id}","starred_url":"https://api.github.com/users/fortunatomaldonado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortunatomaldonado/subscriptions","organizations_url":"https://api.github.com/users/fortunatomaldonado/orgs","repos_url":"https://api.github.com/users/fortunatomaldonado/repos","events_url":"https://api.github.com/users/fortunatomaldonado/events{/privacy}","received_events_url":"https://api.github.com/users/fortunatomaldonado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-06T22:08:58Z","updated_at":"2018-11-09T18:46:29Z","closed_at":null,"author_association":"MEMBER","body":"## Issue\r\nAligning an image in IE, the CSS is placed in the container. `style= \"text-align: center;\"` Aligning the image in Chrome/other browsers, the CSS is placed in the image itself. `style=\"display: block; margin-left: auto; margin-right: auto;\"` When aligning in IE and going to that content in Chrome, it is impossible to remove the CSS in the container and so the image will remain centered.\r\n\r\n## Reproduce\r\n1. Start up the demo of AlloyEditor.\r\n2. Add `text-align: center` to the `<p>` around the img of the moon. This is to mimic center aligning the image in IE11. \r\n3. Try to deselect center alignment.\r\n\r\nResult\r\nThe alignment is not recognized as being center aligned. Clicking it will only center align it and it can not be unaligned.\r\nhttps://issues.liferay.com/browse/LPS-86954\r\n\r\nLet me know if you have any questions or comments.\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/liferay/alloy-editor/issues/comments/437456872","html_url":"https://github.com/liferay/alloy-editor/issues/898#issuecomment-437456872","issue_url":"https://api.github.com/repos/liferay/alloy-editor/issues/898","id":437456872,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzQ1Njg3Mg==","user":{"login":"fortunatomaldonado","id":31672551,"node_id":"MDQ6VXNlcjMxNjcyNTUx","avatar_url":"https://avatars3.githubusercontent.com/u/31672551?v=4","gravatar_id":"","url":"https://api.github.com/users/fortunatomaldonado","html_url":"https://github.com/fortunatomaldonado","followers_url":"https://api.github.com/users/fortunatomaldonado/followers","following_url":"https://api.github.com/users/fortunatomaldonado/following{/other_user}","gists_url":"https://api.github.com/users/fortunatomaldonado/gists{/gist_id}","starred_url":"https://api.github.com/users/fortunatomaldonado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortunatomaldonado/subscriptions","organizations_url":"https://api.github.com/users/fortunatomaldonado/orgs","repos_url":"https://api.github.com/users/fortunatomaldonado/repos","events_url":"https://api.github.com/users/fortunatomaldonado/events{/privacy}","received_events_url":"https://api.github.com/users/fortunatomaldonado/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T18:46:29Z","updated_at":"2018-11-09T18:46:29Z","author_association":"MEMBER","body":"@duracell80 Thanks for catching the typo. "}}
{"actor":{"display_login":"fortunatomaldonado"}}