{"action":"opened","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1554","repository_url":"https://api.github.com/repos/froala/wysiwyg-editor","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1554/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1554/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1554/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/1554","id":181970736,"number":1554,"title":"Enter splits wrapping element","user":{"login":"M-Knobloch","id":22741914,"avatar_url":"https://avatars.githubusercontent.com/u/22741914?v=3","gravatar_id":"","url":"https://api.github.com/users/M-Knobloch","html_url":"https://github.com/M-Knobloch","followers_url":"https://api.github.com/users/M-Knobloch/followers","following_url":"https://api.github.com/users/M-Knobloch/following{/other_user}","gists_url":"https://api.github.com/users/M-Knobloch/gists{/gist_id}","starred_url":"https://api.github.com/users/M-Knobloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M-Knobloch/subscriptions","organizations_url":"https://api.github.com/users/M-Knobloch/orgs","repos_url":"https://api.github.com/users/M-Knobloch/repos","events_url":"https://api.github.com/users/M-Knobloch/events{/privacy}","received_events_url":"https://api.github.com/users/M-Knobloch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T09:27:56Z","updated_at":"2016-10-10T09:27:56Z","closed_at":null,"body":"##### Expected behavior.\r\n```\r\n<article>\r\n\t<section>Section content</section>\r\n</article>\r\n```\r\n\r\npress enter on cursor position between \"Section\" and \"content\"\r\nexpected is `<section> Section<p>&nbsp; </p>content</section>`\r\n\r\n##### Actual behavior.\r\n```\r\narticle>\r\n\t<section>Section&nbsp;</section>\r\n\t<section>content</section>\r\n</article>\r\n```\r\nSo my section Element is split up in two and no p tag is generated.\r\n\r\n##### Steps to reproduce the problem.\r\nDo it in your own online example  https://www.froala.com/wysiwyg-editor\r\n\r\n##### OS.\r\nW10\r\n\r\n##### Browser.\r\nMozilla\r\n\r\nThe same strange behaviour happens on other nested elements. \r\nAlso when i place the cursor inside the text and toggle to code view, the cursor is placed to begin of the text-node, after the html-start Tag. The same happens vice versa, when toggle back to wysiwyg mode.\r\n\r\n"}}
{"actor":{"display_login":"M-Knobloch"}}