{"action":"created","issue":{"url":"https://api.github.com/repos/nylas/N1/issues/1919","repository_url":"https://api.github.com/repos/nylas/N1","labels_url":"https://api.github.com/repos/nylas/N1/issues/1919/labels{/name}","comments_url":"https://api.github.com/repos/nylas/N1/issues/1919/comments","events_url":"https://api.github.com/repos/nylas/N1/issues/1919/events","html_url":"https://github.com/nylas/N1/issues/1919","id":147163525,"number":1919,"title":"Content Editable elements in HTML emails are actually editable","user":{"login":"markbao","id":27594,"avatar_url":"https://avatars.githubusercontent.com/u/27594?v=3","gravatar_id":"","url":"https://api.github.com/users/markbao","html_url":"https://github.com/markbao","followers_url":"https://api.github.com/users/markbao/followers","following_url":"https://api.github.com/users/markbao/following{/other_user}","gists_url":"https://api.github.com/users/markbao/gists{/gist_id}","starred_url":"https://api.github.com/users/markbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbao/subscriptions","organizations_url":"https://api.github.com/users/markbao/orgs","repos_url":"https://api.github.com/users/markbao/repos","events_url":"https://api.github.com/users/markbao/events{/privacy}","received_events_url":"https://api.github.com/users/markbao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-09T21:05:29Z","updated_at":"2016-04-26T15:14:34Z","closed_at":null,"body":"![contenteditable](https://cloud.githubusercontent.com/assets/27594/14406427/1456876c-fe75-11e5-98bd-3832c10a0d3d.gif)\r\n\r\nContent Editable elements in HTML emails are actually editable in the message view. Outlook iOS has a bug where if you write a reply and hit `> Load full message`, it will embed your reply text inside a contenteditable div. Yeah, it's stupid. But Gmail strips this out, whereas N1 keeps it.\r\n\r\nReproduce contenteditable with Outlook iOS:\r\n\r\n1. Find an email.\r\n2. Reply to it.\r\n3. Tap `> Load full message`.\r\n4. Type some stuff.\r\n5. Send message.\r\n\r\nReproduce editability in N1:\r\n\r\n1. Find the sent email.\r\n2. Notice that you can click inside your reply. It's a text box and you can type in there. (Type carefully, since whatever you type is interpreted by N1 as keyboard commands.)\r\n\r\nGmail makes this contenteditable non-editable. It just shows as regular text. Seems like N1 should be doing the same.\r\n\r\n##### Are there any related issues?\r\n<!-- Try searching for both open and closed issues here: https://github.com/nylas/N1/issues?q=is%3Aissue. Keep in mind that email features are often described differently on different platforms. (Conversations == threads, shortcuts == hotkeys, etc.) -->\r\nNo\r\n\r\n##### What operating system are you using?\r\n10.11.4 (15E65)\r\n\r\n##### What version of N1 are you using?\r\nVersion 0.4.19-d41e72c (0.4.19-d41e72c)\r\n\r\n--\r\n\r\n**Bug?**\r\n##### Do you have any third-party plugins installed?\r\nNo\r\n\r\n##### Is the issue related to a specific email provider (Gmail, Exchange, etc.)?\r\nNo\r\n\r\n##### Is the issue reproducible with a particular attachment, message, signature, etc?\r\n<!-- Try to provide an example as a file attachment or a screenshot. -->\r\nSee above"},"comment":{"url":"https://api.github.com/repos/nylas/N1/issues/comments/214778901","html_url":"https://github.com/nylas/N1/issues/1919#issuecomment-214778901","issue_url":"https://api.github.com/repos/nylas/N1/issues/1919","id":214778901,"user":{"login":"markbao","id":27594,"avatar_url":"https://avatars.githubusercontent.com/u/27594?v=3","gravatar_id":"","url":"https://api.github.com/users/markbao","html_url":"https://github.com/markbao","followers_url":"https://api.github.com/users/markbao/followers","following_url":"https://api.github.com/users/markbao/following{/other_user}","gists_url":"https://api.github.com/users/markbao/gists{/gist_id}","starred_url":"https://api.github.com/users/markbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbao/subscriptions","organizations_url":"https://api.github.com/users/markbao/orgs","repos_url":"https://api.github.com/users/markbao/repos","events_url":"https://api.github.com/users/markbao/events{/privacy}","received_events_url":"https://api.github.com/users/markbao/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T15:14:33Z","updated_at":"2016-04-26T15:14:33Z","body":"Sent in the message to N1 support, and also attaching HTML here\r\n\r\n```\r\nReturn-Path: <mark@decisionsciences.[snip]>\r\nReceived: from mail.outlook.com [snip]\r\n        by smtp.gmail.com with ESMTPSA id [snip]\r\n        for <mark@markbao.[snip]>\r\n        (version=[snip]);\r\n        Sat, 09 Apr 2016 14:01:38 -0700 (PDT)\r\nDate: Sat, 9 Apr 2016 21:01:37 +0000 (UTC)\r\nFrom: Mark Bao <mark@decisionsciences.[snip]>\r\nTo: Mark Bao <mark@markbao.[snip]>\r\nMessage-ID: <[snip]@mail.outlook.com>\r\nIn-Reply-To: <[snip]@mail.outlook.com>\r\nReferences: <[snip]@mail.outlook.com>\r\nSubject: Re: Testing\r\nMIME-Version: 1.0\r\nContent-Type: multipart/alternative; \r\n\tboundary=\"----=_Part_7080_326667712.1460235697887\"\r\nX-Mailer: Outlook for iOS and Android\r\n\r\n------=_Part_7080_326667712.1460235697887\r\nContent-Type: text/plain; charset=us-ascii\r\nContent-Transfer-Encoding: 7bit\r\n\r\nHey. This is editable dude\r\n\r\n\r\n\r\n    _____________________________\r\nFrom: Mark Bao <mark@decisionsciences.[snip]>\r\nSent: Saturday, April 9, 2016 5:01 PM\r\nSubject: Testing\r\nTo: Mark Bao <mark@markbao.[snip]>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n  \r\n------=_Part_7080_326667712.1460235697887\r\nContent-Type: text/html; charset=utf-8\r\nContent-Transfer-Encoding: 7bit\r\n\r\n\r\n    <div id=\"compose\" contenteditable=\"true\" style=\"padding-left: 20px; padding-right: 20px; padding-bottom: 8px;\"><div>Hey. This is editable dude<br><br><div class=\"acompli_signature\"></div><br></div></div>\r\n    <div class=\"gmail_quote\">_____________________________<br>From: Mark Bao &lt;<a dir=\"ltr\" href=\"mailto:mark@decisionsciences.[snip]\" x-apple-data-detectors=\"true\" x-apple-data-detectors-type=\"link\" x-apple-data-detectors-result=\"1\">mark@decisionsciences.[snip]</a>&gt;<br>Sent: Saturday, April 9, 2016 5:01 PM<br>Subject: Testing<br>To: Mark Bao &lt;<a dir=\"ltr\" href=\"mailto:mark@markbao.[snip]\" x-apple-data-detectors=\"true\" x-apple-data-detectors-type=\"link\" x-apple-data-detectors-result=\"4\">mark@markbao.[snip]</a>&gt;<br><br><br><div><br><br><div class=\"acompli_signature\"></div><br></div><br><br></div>\r\n  \r\n------=_Part_7080_326667712.1460235697887--\r\n```"}}