{"action":"closed","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/2576","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/2576/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/2576/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/2576/events","html_url":"https://github.com/concrete5/concrete5/issues/2576","id":86480661,"number":2576,"title":"Content block - image attributes stripped on save","user":{"login":"MrKarlDilkington","id":10898145,"avatar_url":"https://avatars.githubusercontent.com/u/10898145?v=3","gravatar_id":"","url":"https://api.github.com/users/MrKarlDilkington","html_url":"https://github.com/MrKarlDilkington","followers_url":"https://api.github.com/users/MrKarlDilkington/followers","following_url":"https://api.github.com/users/MrKarlDilkington/following{/other_user}","gists_url":"https://api.github.com/users/MrKarlDilkington/gists{/gist_id}","starred_url":"https://api.github.com/users/MrKarlDilkington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrKarlDilkington/subscriptions","organizations_url":"https://api.github.com/users/MrKarlDilkington/orgs","repos_url":"https://api.github.com/users/MrKarlDilkington/repos","events_url":"https://api.github.com/users/MrKarlDilkington/events{/privacy}","received_events_url":"https://api.github.com/users/MrKarlDilkington/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concrete5/concrete5/labels/code:core%20blocks","name":"code:core blocks","color":"0052cc"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/contributor:community","name":"contributor:community","color":"009800"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/severity:minor","name":"severity:minor","color":"fbca04"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/status:awaiting%20development","name":"status:awaiting development","color":"c7def8"},{"url":"https://api.github.com/repos/concrete5/concrete5/labels/type:bug","name":"type:bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/concrete5/concrete5/milestones/12","html_url":"https://github.com/concrete5/concrete5/milestones/Future","labels_url":"https://api.github.com/repos/concrete5/concrete5/milestones/12/labels","id":1000024,"number":12,"title":"Future","description":"","creator":{"login":"aembler","id":527809,"avatar_url":"https://avatars.githubusercontent.com/u/527809?v=3","gravatar_id":"","url":"https://api.github.com/users/aembler","html_url":"https://github.com/aembler","followers_url":"https://api.github.com/users/aembler/followers","following_url":"https://api.github.com/users/aembler/following{/other_user}","gists_url":"https://api.github.com/users/aembler/gists{/gist_id}","starred_url":"https://api.github.com/users/aembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aembler/subscriptions","organizations_url":"https://api.github.com/users/aembler/orgs","repos_url":"https://api.github.com/users/aembler/repos","events_url":"https://api.github.com/users/aembler/events{/privacy}","received_events_url":"https://api.github.com/users/aembler/received_events","type":"User","site_admin":false},"open_issues":99,"closed_issues":31,"state":"open","created_at":"2015-02-28T15:33:57Z","updated_at":"2015-09-11T18:25:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-09T06:55:27Z","updated_at":"2015-09-11T18:25:36Z","closed_at":"2015-09-11T18:25:36Z","body":"When responsive image support was restored to the Content block it had the side effect of stripping image attributes (class, ID, title, data-, etc.).\r\n\r\nAny attribute applied manually or with a plugin is removed on save. I am assuming that the process of creating the <picture> element just considers the image name, image path, and the information entered into the image modal.\r\n\r\nAn example from the forums, a developer's client required the ability to add title attributes to images in the Content block.\r\nhttps://www.concrete5.org/community/forums/5-7-discussion/bug-block-text-image-error-title-vs.-alt-text-redactor-error\r\n\r\nCould the image attributes be saved and reapplied to the resulting <picture> element?\r\n"}}