{"action":"closed","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/2240","repository_url":"https://api.github.com/repos/quilljs/quill","labels_url":"https://api.github.com/repos/quilljs/quill/issues/2240/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/2240/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/2240/events","html_url":"https://github.com/quilljs/quill/issues/2240","id":349520031,"node_id":"MDU6SXNzdWUzNDk1MjAwMzE=","number":2240,"title":"Instantiation of the Quill editor strips classes from img elements.","user":{"login":"cpinto-cb","id":1186224,"node_id":"MDQ6VXNlcjExODYyMjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1186224?v=4","gravatar_id":"","url":"https://api.github.com/users/cpinto-cb","html_url":"https://github.com/cpinto-cb","followers_url":"https://api.github.com/users/cpinto-cb/followers","following_url":"https://api.github.com/users/cpinto-cb/following{/other_user}","gists_url":"https://api.github.com/users/cpinto-cb/gists{/gist_id}","starred_url":"https://api.github.com/users/cpinto-cb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpinto-cb/subscriptions","organizations_url":"https://api.github.com/users/cpinto-cb/orgs","repos_url":"https://api.github.com/users/cpinto-cb/repos","events_url":"https://api.github.com/users/cpinto-cb/events{/privacy}","received_events_url":"https://api.github.com/users/cpinto-cb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-10T13:41:02Z","updated_at":"2018-08-10T14:10:53Z","closed_at":"2018-08-10T14:10:53Z","author_association":"NONE","body":"See the attached example.\r\n\r\nIn the example, there is a div#editor that contains.\r\n\r\n&lt;div id=\"editor\"&gt;\r\n    Here is a field with an image and it has a class. Lifted from my jQuery DataTables application<br/>\r\n    Une famille d’entreprises spécialisées dans la prestation de services linguistiques et l’apport de solutions technologiques\r\n    &lt;img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAYAAAABOs/SAAABH0lEQVRIS8XULUsEYRAH8N9Fs8UoFr+CcCbBaLGI2LQZBEGTGFQsKojFZhQxWI02P4BJbWLWbJWBWVjW3Tt3L+xT9m1m/i8zswM9nUFPuHoH3sA+1tKBe5zn/QeeWzgzhSPc4BOXmbuL1QInFJcD3xEk4tzmfRvg6cybSRFRr7b+f4DncJxkFvGGUyzgId8/pSvLeMVOKh4LvIdrfFdUhvoAPsE8tnCFQxxkfLULVYXxPeILckMsheKzEruyzZEQz4XVUTAI3mEdF/ip6X0dcIRFjx8RLgwLq0cpLvpdVrzZErhW8bjhWslBecnrF7ZLwOWiQbJar3G4/tiA2ZzOFlvUGDoSuGmPY6UmOQHauMeTFO6c2/svszPzrom9Kf4F9PRdAJ0jXGcAAAAASUVORK5CYII=\" <strong>alt=\"br:1\" class=\"token\"</strong>&gt; aux entreprises internationales...\r\n&lt;/div&gt;\r\n\r\n\r\nThere is also a button labeled make editor.\r\n\r\nYou will see after hitting the \"make editor\" button the class name token is stripped from the img element. The alt=\"br:1\" is maintained, but the class=\"token\" disappears.\r\n\r\n\r\n[quillexample.html.txt](https://github.com/quilljs/quill/files/2278066/quillexample.html.txt)\r\n\r\n\r\n"}}
{"actor":{"display_login":"benbro"}}