{"action":"created","issue":{"url":"https://api.github.com/repos/rainlab/blog-plugin/issues/209","repository_url":"https://api.github.com/repos/rainlab/blog-plugin","labels_url":"https://api.github.com/repos/rainlab/blog-plugin/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/rainlab/blog-plugin/issues/209/comments","events_url":"https://api.github.com/repos/rainlab/blog-plugin/issues/209/events","html_url":"https://github.com/rainlab/blog-plugin/issues/209","id":160011020,"number":209,"title":"Markdown editor breaks when applying formatting","user":{"login":"hybridvision","id":11492432,"avatar_url":"https://avatars.githubusercontent.com/u/11492432?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridvision","html_url":"https://github.com/hybridvision","followers_url":"https://api.github.com/users/hybridvision/followers","following_url":"https://api.github.com/users/hybridvision/following{/other_user}","gists_url":"https://api.github.com/users/hybridvision/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridvision/subscriptions","organizations_url":"https://api.github.com/users/hybridvision/orgs","repos_url":"https://api.github.com/users/hybridvision/repos","events_url":"https://api.github.com/users/hybridvision/events{/privacy}","received_events_url":"https://api.github.com/users/hybridvision/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-13T18:08:34Z","updated_at":"2016-06-28T13:52:31Z","closed_at":null,"body":"**Expected Behaviour**\r\n\r\nWhen editing a blog post, if you select some text, click the formatting icon and choose a heading style, that should be applied.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11492432/16017829/f66f6f88-31a1-11e6-9271-86764bc62398.png)\r\n\r\n\r\n**Actual Behaviour**\r\n\r\nWhen selecting a heading style, nothing appears to happen but an error is logged to the console and from this point the markdown editor is broken and no longer updates the preview.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11492432/16017865/26b913ba-31a2-11e6-8de8-26b833842b6e.png)\r\n\r\n\r\n**Steps to reproduce**\r\n\r\n1) Edit a blog post\r\n2) Select some text and click the \"Formatting\" icon in the tool bar and choose a heading level\r\n3) No formatting is applied and an error is logged to the console.\r\n\r\n**OctoberCMS Build**\r\n\r\nOctoberCMS build 345 with Rainlab Blog v1.2.7\r\n\r\n**Other notes**\r\n\r\nI've tested this on two different computers and two versions of the site (local and production) and the error is consistent."},"comment":{"url":"https://api.github.com/repos/rainlab/blog-plugin/issues/comments/229055222","html_url":"https://github.com/rainlab/blog-plugin/issues/209#issuecomment-229055222","issue_url":"https://api.github.com/repos/rainlab/blog-plugin/issues/209","id":229055222,"user":{"login":"msimkunas","id":9675250,"avatar_url":"https://avatars.githubusercontent.com/u/9675250?v=3","gravatar_id":"","url":"https://api.github.com/users/msimkunas","html_url":"https://github.com/msimkunas","followers_url":"https://api.github.com/users/msimkunas/followers","following_url":"https://api.github.com/users/msimkunas/following{/other_user}","gists_url":"https://api.github.com/users/msimkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/msimkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msimkunas/subscriptions","organizations_url":"https://api.github.com/users/msimkunas/orgs","repos_url":"https://api.github.com/users/msimkunas/repos","events_url":"https://api.github.com/users/msimkunas/events{/privacy}","received_events_url":"https://api.github.com/users/msimkunas/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T13:52:31Z","updated_at":"2016-06-28T13:52:31Z","body":"I'm experiencing the same issue. Are there any workarounds until the official fix is released?"}}
{"actor":{"display_login":"msimkunas"}}