{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/draft-js/issues/1299","repository_url":"https://api.github.com/repos/facebook/draft-js","labels_url":"https://api.github.com/repos/facebook/draft-js/issues/1299/labels{/name}","comments_url":"https://api.github.com/repos/facebook/draft-js/issues/1299/comments","events_url":"https://api.github.com/repos/facebook/draft-js/issues/1299/events","html_url":"https://github.com/facebook/draft-js/pull/1299","id":244797155,"number":1299,"title":"Prevent dropping soft newline when leaf isn't last","user":{"login":"pioul","id":2307365,"avatar_url":"https://avatars0.githubusercontent.com/u/2307365?v=4","gravatar_id":"","url":"https://api.github.com/users/pioul","html_url":"https://github.com/pioul","followers_url":"https://api.github.com/users/pioul/followers","following_url":"https://api.github.com/users/pioul/following{/other_user}","gists_url":"https://api.github.com/users/pioul/gists{/gist_id}","starred_url":"https://api.github.com/users/pioul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pioul/subscriptions","organizations_url":"https://api.github.com/users/pioul/orgs","repos_url":"https://api.github.com/users/pioul/repos","events_url":"https://api.github.com/users/pioul/events{/privacy}","received_events_url":"https://api.github.com/users/pioul/received_events","type":"User","site_admin":false},"labels":[{"id":328912331,"url":"https://api.github.com/repos/facebook/draft-js/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false},{"id":404060451,"url":"https://api.github.com/repos/facebook/draft-js/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-21T22:22:35Z","updated_at":"2017-07-21T22:29:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/draft-js/pulls/1299","html_url":"https://github.com/facebook/draft-js/pull/1299","diff_url":"https://github.com/facebook/draft-js/pull/1299.diff","patch_url":"https://github.com/facebook/draft-js/pull/1299.patch"},"body":"**Summary**\r\n\r\nWhen using DraftJS with entities and soft new lines, this change prevents `text↵↵entity` from being transformed to `text↵entity` because no extra soft new line was inserted.\r\n\r\nThis tweak makes the soft new line logic in editOnInput.js follow the same conditions as the one in DraftEditorLeaf.react.js.\r\n\r\n*Note: I couldn't run `npm test` because of a dependency mismatch, and won't spend too much time on this given the scope of that tweak. I'd appreciate if you let me know if there's anything noteworthy in the output of that command :)*"},"comment":{"url":"https://api.github.com/repos/facebook/draft-js/issues/comments/317127350","html_url":"https://github.com/facebook/draft-js/pull/1299#issuecomment-317127350","issue_url":"https://api.github.com/repos/facebook/draft-js/issues/1299","id":317127350,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars3.githubusercontent.com/u/6422482?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2017-07-21T22:29:56Z","updated_at":"2017-07-21T22:29:56Z","body":"Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!"}}
{"actor":{"display_login":"facebook-github-bot"}}