{"action":"created","issue":{"url":"https://api.github.com/repos/yabwe/medium-editor/issues/702","labels_url":"https://api.github.com/repos/yabwe/medium-editor/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/yabwe/medium-editor/issues/702/comments","events_url":"https://api.github.com/repos/yabwe/medium-editor/issues/702/events","html_url":"https://github.com/yabwe/medium-editor/issues/702","id":90246514,"number":702,"title":".destroy() question","user":{"login":"johngoldenlane","id":13008692,"avatar_url":"https://avatars.githubusercontent.com/u/13008692?v=3","gravatar_id":"","url":"https://api.github.com/users/johngoldenlane","html_url":"https://github.com/johngoldenlane","followers_url":"https://api.github.com/users/johngoldenlane/followers","following_url":"https://api.github.com/users/johngoldenlane/following{/other_user}","gists_url":"https://api.github.com/users/johngoldenlane/gists{/gist_id}","starred_url":"https://api.github.com/users/johngoldenlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngoldenlane/subscriptions","organizations_url":"https://api.github.com/users/johngoldenlane/orgs","repos_url":"https://api.github.com/users/johngoldenlane/repos","events_url":"https://api.github.com/users/johngoldenlane/events{/privacy}","received_events_url":"https://api.github.com/users/johngoldenlane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T23:53:05Z","updated_at":"2015-06-23T22:56:12Z","closed_at":null,"body":"Hi,\r\n\r\nthe .destroy() call should remove all extra stuff the editor bind to the editable DOM element?\r\nBecause for me the\r\nrole=\"textbox\"\r\naria-multiline=\"true\" \r\nmedium-editor-index=\"0\"\r\n\r\nStays inthe code (I tried on the demo page via console and there I had the same result).\r\n\r\nIs it a feature ( because of course I can remove them manually) or some minor bug?\r\n\r\nThx.\r\n\r\nJohn\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yabwe/medium-editor/issues/comments/114666808","html_url":"https://github.com/yabwe/medium-editor/issues/702#issuecomment-114666808","issue_url":"https://api.github.com/repos/yabwe/medium-editor/issues/702","id":114666808,"user":{"login":"johngoldenlane","id":13008692,"avatar_url":"https://avatars.githubusercontent.com/u/13008692?v=3","gravatar_id":"","url":"https://api.github.com/users/johngoldenlane","html_url":"https://github.com/johngoldenlane","followers_url":"https://api.github.com/users/johngoldenlane/followers","following_url":"https://api.github.com/users/johngoldenlane/following{/other_user}","gists_url":"https://api.github.com/users/johngoldenlane/gists{/gist_id}","starred_url":"https://api.github.com/users/johngoldenlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngoldenlane/subscriptions","organizations_url":"https://api.github.com/users/johngoldenlane/orgs","repos_url":"https://api.github.com/users/johngoldenlane/repos","events_url":"https://api.github.com/users/johngoldenlane/events{/privacy}","received_events_url":"https://api.github.com/users/johngoldenlane/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T22:56:12Z","updated_at":"2015-06-23T22:56:12Z","body":"Hi all,\r\n\r\nif I opening this site:\r\nhttps://yabwe.github.io/medium-editor/\r\n\r\n(it works with a simple blank setup too)\r\n\r\neven in Chrome (43.0.23....) either in Firefox ( 38.0.5) / using dev tool to check /\r\nThe div with the editable class has these attributes:\r\n\r\ncontenteditable : true\r\nspellcheck : true\r\ndata-medium-editor-element : true\r\nrole : textbox\r\naria-multiline : true\r\nmedium-editor-index : 0\r\ndata-placeholder : Type your text\r\n\r\nAfter calling the destroy() the following attr still on:\r\n\r\nrole : textbox\r\naria-multiline : true\r\nmedium-editor-index : 0\r\n\r\nBoth in Firefox and Chrome.\r\n\r\nI most likely a copy & paste coder :) but if there any good article you could link to me, how should I open a \"PR\" and how can I make a proper fix I can try to fix :) but first please confirm that these fields are necessray parts or just some leftovers.\r\n\r\n(oh and yes the op is Win 7, if it is necessary I can test in ie11 too )\r\n\r\n"}}