{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/1331","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1331/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1331/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1331/events","html_url":"https://github.com/WordPress/gutenberg/pull/1331","id":237499802,"number":1331,"title":"Handle pasted block content","user":{"login":"iseulde","id":4710635,"avatar_url":"https://avatars0.githubusercontent.com/u/4710635?v=3","gravatar_id":"","url":"https://api.github.com/users/iseulde","html_url":"https://github.com/iseulde","followers_url":"https://api.github.com/users/iseulde/followers","following_url":"https://api.github.com/users/iseulde/following{/other_user}","gists_url":"https://api.github.com/users/iseulde/gists{/gist_id}","starred_url":"https://api.github.com/users/iseulde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iseulde/subscriptions","organizations_url":"https://api.github.com/users/iseulde/orgs","repos_url":"https://api.github.com/users/iseulde/repos","events_url":"https://api.github.com/users/iseulde/events{/privacy}","received_events_url":"https://api.github.com/users/iseulde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-21T11:18:59Z","updated_at":"2017-06-21T12:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg/pulls/1331","html_url":"https://github.com/WordPress/gutenberg/pull/1331","diff_url":"https://github.com/WordPress/gutenberg/pull/1331.diff","patch_url":"https://github.com/WordPress/gutenberg/pull/1331.patch"},"body":"Follow up from https://github.com/WordPress/gutenberg/pull/495#issuecomment-309714914.\r\n\r\n> Redoing this a bit since the single paragraph approach was merged. This would allow us to do the following:\r\n>\r\n> * If the pasted content is inline, insert it at caret position. In other words, don't do anything special.\r\n> * If the pasted content has blocks or block level content, split the text block at the caret, parse the content, and insert it between the split content."},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/310066538","html_url":"https://github.com/WordPress/gutenberg/pull/1331#issuecomment-310066538","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1331","id":310066538,"user":{"login":"iseulde","id":4710635,"avatar_url":"https://avatars0.githubusercontent.com/u/4710635?v=3","gravatar_id":"","url":"https://api.github.com/users/iseulde","html_url":"https://github.com/iseulde","followers_url":"https://api.github.com/users/iseulde/followers","following_url":"https://api.github.com/users/iseulde/following{/other_user}","gists_url":"https://api.github.com/users/iseulde/gists{/gist_id}","starred_url":"https://api.github.com/users/iseulde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iseulde/subscriptions","organizations_url":"https://api.github.com/users/iseulde/orgs","repos_url":"https://api.github.com/users/iseulde/repos","events_url":"https://api.github.com/users/iseulde/events{/privacy}","received_events_url":"https://api.github.com/users/iseulde/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T12:42:54Z","updated_at":"2017-06-21T12:42:54Z","body":"Thanks for the feedback @joen. We _can_ look at parsing those as single text blocks for paste, but thought it's better to get this in in smaller steps.\r\n\r\nYeah inserting after the block was the approach before this PR, but I'm honestly not a big fan. It's confusing to me. Paste means insert at caret.\r\n\r\nI'll look at the errors now."}}
{"actor":{"display_login":"iseulde"}}