{"action":"opened","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2933","repository_url":"https://api.github.com/repos/froala/wysiwyg-editor","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2933/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2933/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/2933/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/2933","id":337091386,"node_id":"MDU6SXNzdWUzMzcwOTEzODY=","number":2933,"title":"Pressing Enter inside a Div creates a new Div instead of a P tag","user":{"login":"SeanKendle","id":5393604,"node_id":"MDQ6VXNlcjUzOTM2MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5393604?v=4","gravatar_id":"","url":"https://api.github.com/users/SeanKendle","html_url":"https://github.com/SeanKendle","followers_url":"https://api.github.com/users/SeanKendle/followers","following_url":"https://api.github.com/users/SeanKendle/following{/other_user}","gists_url":"https://api.github.com/users/SeanKendle/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanKendle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanKendle/subscriptions","organizations_url":"https://api.github.com/users/SeanKendle/orgs","repos_url":"https://api.github.com/users/SeanKendle/repos","events_url":"https://api.github.com/users/SeanKendle/events{/privacy}","received_events_url":"https://api.github.com/users/SeanKendle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T18:16:08Z","updated_at":"2018-06-29T18:16:08Z","closed_at":null,"author_association":"NONE","body":"##### Expected behavior.\r\nPressing enter in a Div should create a new P tag.\r\n\r\n##### Actual behavior.\r\nPressing enter in a Div creates another div\r\n\r\n##### Steps to reproduce the problem.\r\n\r\ncopy/paste this into the editor at https://www.froala.com/wysiwyg-editor:\r\n\r\n```\r\n<div class=\"col-l-2 col-m-2 col-s-2 gutter-10 grid flex\" contenteditable=\"false\" id=\"communityPricing\">\r\n\t<div class=\"communityPricing\" contenteditable=\"true\" style=\"text-align: center;\">Lot #130\r\n\t\t<br>Longleaf Drive\r\n\t\t<br><strong>$119,900&nbsp;</strong>\r\n\t\t<br><a href=\"#\">Inquire</a></div>\r\n\t<div class=\"communityPricing highlight\" contenteditable=\"true\" style=\"text-align: center;\">Lot #201\r\n\t\t<br>Chadwick Drive\r\n\t\t<br><strong>SOLD</strong></div>\r\n</div>\r\n```\r\n\r\nClick inside a Div, press Enter, click \"Code View\", now there are 3 divs instead of 2.\r\n\r\nThis is a big problem for us because we use nested divs for our grid system, and this will create a new div within the grid.\r\n\r\n\r\n##### OS.\r\nWindows 7 Pro\r\n\r\n##### Browser.\r\nFirefox (latest), Chrome (latest)\r\n"}}
{"actor":{"display_login":"SeanKendle"}}