{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4115","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4115/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4115/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4115/events","html_url":"https://github.com/Automattic/wp-calypso/issues/4115","id":141470132,"number":4115,"title":"Editor: gallery/contact form is duplicated on edit if it appears as first line in editor","user":{"login":"alisterscott","id":128826,"avatar_url":"https://avatars.githubusercontent.com/u/128826?v=3","gravatar_id":"","url":"https://api.github.com/users/alisterscott","html_url":"https://github.com/alisterscott","followers_url":"https://api.github.com/users/alisterscott/followers","following_url":"https://api.github.com/users/alisterscott/following{/other_user}","gists_url":"https://api.github.com/users/alisterscott/gists{/gist_id}","starred_url":"https://api.github.com/users/alisterscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisterscott/subscriptions","organizations_url":"https://api.github.com/users/alisterscott/orgs","repos_url":"https://api.github.com/users/alisterscott/repos","events_url":"https://api.github.com/users/alisterscott/events{/privacy}","received_events_url":"https://api.github.com/users/alisterscott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Editor","name":"Editor","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-17T03:36:48Z","updated_at":"2016-04-07T14:03:28Z","closed_at":null,"body":"<!-- Thanks for contributing to Calypso! Pick a clear title (\"Editor: add spell check\") and proceed. -->\r\n\r\n#### Steps to reproduce\r\n1. Starting at URL: https://wordpress.com/post/\r\n2. As the very first thing in the editor (no blank lines) add an image gallery (or new contact form)\r\n3. Image gallery shows correctly\r\n4. Click edit, and change image gallery format (eg. circles)\r\n\r\n#### What I expected\r\n\r\nImage gallery is _modified_ to the new format (eg. circles)\r\n\r\n#### What happened instead\r\n\r\nImage gallery is _duplicated_ as the new format (eg. circles)\r\n\r\n#### Browser / OS version\r\n\r\nChome  49.0.2623.87 OSX 10.11.3 (Could not repro on Firefox latest OSX)\r\n\r\n#### Screenshot / Video\r\n\r\n![edit gallery first line editor](https://cloud.githubusercontent.com/assets/128826/13835603/27fdd302-ec45-11e5-83e9-b7f8f62fcfc0.gif)\r\n\r\n\r\n<!--\r\nPLEASE NOTE\r\n- These comments won't show up when you submit the issue.\r\n- Everything is optional, but try to add as many details as possible.\r\n- If requesting a new feature, explain why you'd like to see it added.\r\n\r\nDocs & troubleshooting:\r\nhttps://github.com/Automattic/wp-calypso/blob/master/CONTRIBUTING.md\r\nhttps://github.com/Automattic/wp-calypso/blob/master/docs/troubleshooting.md\r\n\r\nHelpful tips for screenshots:\r\nhttps://en.support.wordpress.com/make-a-screenshot/\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/206921942","html_url":"https://github.com/Automattic/wp-calypso/issues/4115#issuecomment-206921942","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4115","id":206921942,"user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T14:03:28Z","updated_at":"2016-04-07T14:03:28Z","body":"On a hunch, decided to test whether simply updating TinyMCE to the latest version would resolve the issue, and it appears to do so. [The changelog](https://www.tinymce.com/docs/changelog/) doesn't include any obvious item that would indicate its being fixed. I'll plan to put together a pull request, though I'm observing at least one regression with the update that I'll want to fix before doing so."}}