{"action":"reopened","issue":{"url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor/issues/409","repository_url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor","labels_url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor/issues/409/comments","events_url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor/issues/409/events","html_url":"https://github.com/NextStepWebs/simplemde-markdown-editor/issues/409","id":168719585,"number":409,"title":"Editor duplicates itself on reloading the page","user":{"login":"ArtOfCode-","id":10406565,"avatar_url":"https://avatars.githubusercontent.com/u/10406565?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtOfCode-","html_url":"https://github.com/ArtOfCode-","followers_url":"https://api.github.com/users/ArtOfCode-/followers","following_url":"https://api.github.com/users/ArtOfCode-/following{/other_user}","gists_url":"https://api.github.com/users/ArtOfCode-/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtOfCode-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtOfCode-/subscriptions","organizations_url":"https://api.github.com/users/ArtOfCode-/orgs","repos_url":"https://api.github.com/users/ArtOfCode-/repos","events_url":"https://api.github.com/users/ArtOfCode-/events{/privacy}","received_events_url":"https://api.github.com/users/ArtOfCode-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NextStepWebs/simplemde-markdown-editor/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-01T19:13:09Z","updated_at":"2016-09-04T19:28:09Z","closed_at":null,"body":"This is an odd one. I've implemented SimpleMDE for a [development website](http://stage.artofcode.co.uk:8800). On the page where it's used (http://stage.artofcode.co.uk:8800/recipes/new - requires sign in), when I reload the page, the editor duplicates.\r\n\r\nWe go from this on the first page load:\r\n\r\n![](http://i.stack.imgur.com/JE6yC.png)\r\n\r\nto this on the reload:\r\n\r\n![](http://i.stack.imgur.com/js35e.png)\r\n\r\nMy initialization code is this:\r\n\r\n    $('.mde-field').each(() ->\r\n      mde = new SimpleMDE({\r\n        element: this,\r\n        forceSync: true,\r\n        indentWithTabs: false,\r\n        tabSize: 4\r\n      })\r\n    )\r\n\r\nAm I doing something wrong, or is this a bug?"}}
{"actor":{"display_login":"WesCossick"}}