{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/12947","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12947/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12947/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12947/events","html_url":"https://github.com/WordPress/gutenberg/issues/12947","id":391735583,"node_id":"MDU6SXNzdWUzOTE3MzU1ODM=","number":12947,"title":"Classnames break after style change","user":{"login":"maximebj","id":1785489,"node_id":"MDQ6VXNlcjE3ODU0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/1785489?v=4","gravatar_id":"","url":"https://api.github.com/users/maximebj","html_url":"https://github.com/maximebj","followers_url":"https://api.github.com/users/maximebj/followers","following_url":"https://api.github.com/users/maximebj/following{/other_user}","gists_url":"https://api.github.com/users/maximebj/gists{/gist_id}","starred_url":"https://api.github.com/users/maximebj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximebj/subscriptions","organizations_url":"https://api.github.com/users/maximebj/orgs","repos_url":"https://api.github.com/users/maximebj/repos","events_url":"https://api.github.com/users/maximebj/events{/privacy}","received_events_url":"https://api.github.com/users/maximebj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-17T14:25:43Z","updated_at":"2018-12-17T14:33:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There is a weird behavior when I apply a style on one of my block\r\n\r\nHere are my classes before changing style:\r\n`wp-block-advanced-gutenberg-blocks-notice wp-block-advanced-gutenberg-blocks-notice--advice`\r\n\r\n(I use BEM notation)\r\n\r\nAfter changing style: \r\n`wp-block-advanced-gutenberg-blocks-notice is-style-full wp-block-advanced-gutenberg-blocks-notice is-style-full--advice`\r\n\r\nIs-style-full is injected twice, and the second time, not at the right place. I think there is somewhere a  wrong regexp \r\n\r\nI'm gonna switch to state naming (is-something) : I won't have the issue anymore, and it will be more WP proof. \r\n\r\nBut I think than someone should take a look because I think it can cause issues someday."},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/447866064","html_url":"https://github.com/WordPress/gutenberg/issues/12947#issuecomment-447866064","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/12947","id":447866064,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzg2NjA2NA==","user":{"login":"swissspidy","id":841956,"node_id":"MDQ6VXNlcjg0MTk1Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/841956?v=4","gravatar_id":"","url":"https://api.github.com/users/swissspidy","html_url":"https://github.com/swissspidy","followers_url":"https://api.github.com/users/swissspidy/followers","following_url":"https://api.github.com/users/swissspidy/following{/other_user}","gists_url":"https://api.github.com/users/swissspidy/gists{/gist_id}","starred_url":"https://api.github.com/users/swissspidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swissspidy/subscriptions","organizations_url":"https://api.github.com/users/swissspidy/orgs","repos_url":"https://api.github.com/users/swissspidy/repos","events_url":"https://api.github.com/users/swissspidy/events{/privacy}","received_events_url":"https://api.github.com/users/swissspidy/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T14:33:05Z","updated_at":"2018-12-17T14:33:05Z","author_association":"MEMBER","body":"Looks like you're using https://wordpress.org/plugins/advanced-gutenberg-blocks/. Is this perhaps a bug in that plugin? Or is it happening with a custom built block? If so, could you share the code you're using to register it?"}}
{"actor":{"display_login":"swissspidy"}}