{"action":"opened","issue":{"url":"https://api.github.com/repos/artf/grapesjs/issues/1033","repository_url":"https://api.github.com/repos/artf/grapesjs","labels_url":"https://api.github.com/repos/artf/grapesjs/issues/1033/labels{/name}","comments_url":"https://api.github.com/repos/artf/grapesjs/issues/1033/comments","events_url":"https://api.github.com/repos/artf/grapesjs/issues/1033/events","html_url":"https://github.com/artf/grapesjs/issues/1033","id":313701008,"number":1033,"title":"[BUG]: When IDs are used, it's not possible to update or remove a style","user":{"login":"nojacko","id":1667141,"avatar_url":"https://avatars1.githubusercontent.com/u/1667141?v=4","gravatar_id":"","url":"https://api.github.com/users/nojacko","html_url":"https://github.com/nojacko","followers_url":"https://api.github.com/users/nojacko/followers","following_url":"https://api.github.com/users/nojacko/following{/other_user}","gists_url":"https://api.github.com/users/nojacko/gists{/gist_id}","starred_url":"https://api.github.com/users/nojacko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nojacko/subscriptions","organizations_url":"https://api.github.com/users/nojacko/orgs","repos_url":"https://api.github.com/users/nojacko/repos","events_url":"https://api.github.com/users/nojacko/events{/privacy}","received_events_url":"https://api.github.com/users/nojacko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T12:15:20Z","updated_at":"2018-04-12T12:15:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Steps to reproduce\r\n0. https://jsfiddle.net/1cjjr02p/\r\n0. Click the text in editor, change background colour.\r\n0. Export CSS. You'll see both new and original colours exist in an order that prevents the new colour being used.\r\n\r\n```\r\n/* CSS: Output (minus some irrelevant bits) */\r\n#c318{\r\n  background-color:#000000;             /* New colour **/\r\n}\r\n#c318{\r\n  background-color:rgb(152, 77, 77);     /* Original colour **/\r\n}\r\n\r\n/* CSS: Expected */\r\n#c318{\r\n  background-color: #000000;     /* New colour **/\r\n}\r\n````\r\n\r\n3.. Using same jsfilddle, it's not possible to remove CSS attribute.\r\n\r\nThis is similar to #552 #986 but the issue is only present when IDs are used. Classes are cool.\r\n"}}
{"actor":{"display_login":"nojacko"}}