{"action":"created","comment":{"url":"https://api.github.com/repos/nhn/tui.grid/pulls/comments/285834970","pull_request_review_id":239804797,"id":285834970,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NTgzNDk3MA==","diff_hunk":"@@ -90,6 +152,35 @@ class ClipboardComp extends Component<Props> {\n     }\n   };\n \n+  private onCopy = (ev: ClipboardEvent) => {\n+    if (!this.el) {\n+      return;\n+    }\n+    const text = this.el.innerHTML;\n+    if (isSupportWindowClipboardData()) {\n+      (window as WindowWithClipboard).clipboardData!.setData('Text', text);\n+    } else if (ev.clipboardData) {\n+      ev.clipboardData.setData('text/plain', text);\n+    }\n+\n+    ev.preventDefault();\n+  };\n+\n+  private onPaste = (ev: ClipboardEvent) => {\n+    const clipboardData = ev.clipboardData || (window as WindowWithClipboard).clipboardData;\n+\n+    if (!clipboardData) {\n+      return;\n+    }\n+\n+    if (!isEdge() && !isSupportWindowClipboardData()) {\n+      ev.preventDefault();\n+      this.pasteInOtherBrowsers(clipboardData);\n+    } else {\n+      this.pasteInMSBrowser(clipboardData);\n+    }\n+  };","path":"src/view/clipboard.tsx","position":118,"original_position":118,"commit_id":"7ab0f369bf889b75bf1cadf6a04d25d6793ca6d3","original_commit_id":"7ab0f369bf889b75bf1cadf6a04d25d6793ca6d3","user":{"login":"jung-han","id":35371660,"node_id":"MDQ6VXNlcjM1MzcxNjYw","avatar_url":"https://avatars1.githubusercontent.com/u/35371660?v=4","gravatar_id":"","url":"https://api.github.com/users/jung-han","html_url":"https://github.com/jung-han","followers_url":"https://api.github.com/users/jung-han/followers","following_url":"https://api.github.com/users/jung-han/following{/other_user}","gists_url":"https://api.github.com/users/jung-han/gists{/gist_id}","starred_url":"https://api.github.com/users/jung-han/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jung-han/subscriptions","organizations_url":"https://api.github.com/users/jung-han/orgs","repos_url":"https://api.github.com/users/jung-han/repos","events_url":"https://api.github.com/users/jung-han/events{/privacy}","received_events_url":"https://api.github.com/users/jung-han/received_events","type":"User","site_admin":false},"body":"앗 빠트렸네요.... 수정하였습니다!","created_at":"2019-05-21T02:58:52Z","updated_at":"2019-05-21T02:58:52Z","html_url":"https://github.com/nhn/tui.grid/pull/358#discussion_r285834970","pull_request_url":"https://api.github.com/repos/nhn/tui.grid/pulls/358","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/comments/285834970"},"html":{"href":"https://github.com/nhn/tui.grid/pull/358#discussion_r285834970"},"pull_request":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/358"}},"in_reply_to_id":285834271},"pull_request":{"url":"https://api.github.com/repos/nhn/tui.grid/pulls/358","id":280380480,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgwMzgwNDgw","html_url":"https://github.com/nhn/tui.grid/pull/358","diff_url":"https://github.com/nhn/tui.grid/pull/358.diff","patch_url":"https://github.com/nhn/tui.grid/pull/358.patch","issue_url":"https://api.github.com/repos/nhn/tui.grid/issues/358","number":358,"state":"open","locked":false,"title":"feat: add clipboard api","user":{"login":"jung-han","id":35371660,"node_id":"MDQ6VXNlcjM1MzcxNjYw","avatar_url":"https://avatars1.githubusercontent.com/u/35371660?v=4","gravatar_id":"","url":"https://api.github.com/users/jung-han","html_url":"https://github.com/jung-han","followers_url":"https://api.github.com/users/jung-han/followers","following_url":"https://api.github.com/users/jung-han/following{/other_user}","gists_url":"https://api.github.com/users/jung-han/gists{/gist_id}","starred_url":"https://api.github.com/users/jung-han/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jung-han/subscriptions","organizations_url":"https://api.github.com/users/jung-han/orgs","repos_url":"https://api.github.com/users/jung-han/repos","events_url":"https://api.github.com/users/jung-han/events{/privacy}","received_events_url":"https://api.github.com/users/jung-han/received_events","type":"User","site_admin":false},"body":"<!-- EDIT TITLE PLEASE -->\r\n<!-- It should be one of them\r\n  <ISSUE TYPE>: Short Description (<CLOSING TYPE> #<ISSUE NUMBERS>)\r\n  ex)\r\n  feat: add new feature (close #111)\r\n  fix: wrong behavior (fix #111)\r\n  chore: change build tool (ref #111)\r\n-->\r\n\r\n<!-- SPECIFY A ISSUE TYPE AT HEAD\r\n  feat: A new feature\r\n  fix: A bug fix\r\n  docs: Documentation only changes\r\n  style: Changes that do not affect the meaning of the code (white-space, formatting etc)\r\n  refactor: A code change that neither fixes a bug or adds a feature\r\n  perf: A code change that improves performance\r\n  test: Adding missing tests\r\n  chore: Changes to the build process or auxiliary tools and libraries such as documentation generation\r\n-->\r\n\r\n<!-- ADD CLOSING TYPE AND ISSUE NUMBER AT TAIL\r\n  (<CLOSING TYPE> #<ISSUE NUMBERS>)\r\n  close: resolve not a bug(feature, docs, etc) completely\r\n  fix: resolve a bug completely\r\n  ref: not fully resolved or related to\r\n-->\r\n\r\n### Please check if the PR fulfills these requirements\r\n- [ ] It's submitted to right branch according to our branching model\r\n- [x] It's right issue type on title\r\n- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where \"xxx\" is the issue number)\r\n- [x] The commit message follows our guidelines\r\n- [ ] Tests for the changes have been added (for bug fixes/features)\r\n- [x] Docs have been added/updated (for bug fixes/features)\r\n- [ ] It does not introduce a breaking change or has description for the breaking change\r\n\r\n### Description\r\n\r\n\r\n\r\n---\r\nThank you for your contribution to TOAST UI product. 🎉 😘 ✨\r\n","created_at":"2019-05-20T12:58:29Z","updated_at":"2019-05-21T02:58:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c23be2a78fd67e26f819ece3c7a6ed1adf89807","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nhn/tui.grid/pulls/358/commits","review_comments_url":"https://api.github.com/repos/nhn/tui.grid/pulls/358/comments","review_comment_url":"https://api.github.com/repos/nhn/tui.grid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nhn/tui.grid/issues/358/comments","statuses_url":"https://api.github.com/repos/nhn/tui.grid/statuses/7ab0f369bf889b75bf1cadf6a04d25d6793ca6d3","head":{"label":"nhn:feat/copy-and-paste","ref":"feat/copy-and-paste","sha":"7ab0f369bf889b75bf1cadf6a04d25d6793ca6d3","user":{"login":"nhn","id":7907400,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDc0MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/7907400?v=4","gravatar_id":"","url":"https://api.github.com/users/nhn","html_url":"https://github.com/nhn","followers_url":"https://api.github.com/users/nhn/followers","following_url":"https://api.github.com/users/nhn/following{/other_user}","gists_url":"https://api.github.com/users/nhn/gists{/gist_id}","starred_url":"https://api.github.com/users/nhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhn/subscriptions","organizations_url":"https://api.github.com/users/nhn/orgs","repos_url":"https://api.github.com/users/nhn/repos","events_url":"https://api.github.com/users/nhn/events{/privacy}","received_events_url":"https://api.github.com/users/nhn/received_events","type":"Organization","site_admin":false},"repo":{"id":36346787,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM0Njc4Nw==","name":"tui.grid","full_name":"nhn/tui.grid","private":false,"owner":{"login":"nhn","id":7907400,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDc0MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/7907400?v=4","gravatar_id":"","url":"https://api.github.com/users/nhn","html_url":"https://github.com/nhn","followers_url":"https://api.github.com/users/nhn/followers","following_url":"https://api.github.com/users/nhn/following{/other_user}","gists_url":"https://api.github.com/users/nhn/gists{/gist_id}","starred_url":"https://api.github.com/users/nhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhn/subscriptions","organizations_url":"https://api.github.com/users/nhn/orgs","repos_url":"https://api.github.com/users/nhn/repos","events_url":"https://api.github.com/users/nhn/events{/privacy}","received_events_url":"https://api.github.com/users/nhn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nhn/tui.grid","description":"🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!","fork":false,"url":"https://api.github.com/repos/nhn/tui.grid","forks_url":"https://api.github.com/repos/nhn/tui.grid/forks","keys_url":"https://api.github.com/repos/nhn/tui.grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhn/tui.grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhn/tui.grid/teams","hooks_url":"https://api.github.com/repos/nhn/tui.grid/hooks","issue_events_url":"https://api.github.com/repos/nhn/tui.grid/issues/events{/number}","events_url":"https://api.github.com/repos/nhn/tui.grid/events","assignees_url":"https://api.github.com/repos/nhn/tui.grid/assignees{/user}","branches_url":"https://api.github.com/repos/nhn/tui.grid/branches{/branch}","tags_url":"https://api.github.com/repos/nhn/tui.grid/tags","blobs_url":"https://api.github.com/repos/nhn/tui.grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhn/tui.grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhn/tui.grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhn/tui.grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhn/tui.grid/statuses/{sha}","languages_url":"https://api.github.com/repos/nhn/tui.grid/languages","stargazers_url":"https://api.github.com/repos/nhn/tui.grid/stargazers","contributors_url":"https://api.github.com/repos/nhn/tui.grid/contributors","subscribers_url":"https://api.github.com/repos/nhn/tui.grid/subscribers","subscription_url":"https://api.github.com/repos/nhn/tui.grid/subscription","commits_url":"https://api.github.com/repos/nhn/tui.grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhn/tui.grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhn/tui.grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhn/tui.grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhn/tui.grid/contents/{+path}","compare_url":"https://api.github.com/repos/nhn/tui.grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhn/tui.grid/merges","archive_url":"https://api.github.com/repos/nhn/tui.grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhn/tui.grid/downloads","issues_url":"https://api.github.com/repos/nhn/tui.grid/issues{/number}","pulls_url":"https://api.github.com/repos/nhn/tui.grid/pulls{/number}","milestones_url":"https://api.github.com/repos/nhn/tui.grid/milestones{/number}","notifications_url":"https://api.github.com/repos/nhn/tui.grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhn/tui.grid/labels{/name}","releases_url":"https://api.github.com/repos/nhn/tui.grid/releases{/id}","deployments_url":"https://api.github.com/repos/nhn/tui.grid/deployments","created_at":"2015-05-27T06:06:04Z","updated_at":"2019-05-20T14:20:17Z","pushed_at":"2019-05-21T01:35:29Z","git_url":"git://github.com/nhn/tui.grid.git","ssh_url":"git@github.com:nhn/tui.grid.git","clone_url":"https://github.com/nhn/tui.grid.git","svn_url":"https://github.com/nhn/tui.grid","homepage":"http://ui.toast.com/tui-grid/","size":44545,"stargazers_count":642,"watchers_count":642,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":37,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":91,"open_issues":37,"watchers":642,"default_branch":"master"}},"base":{"label":"nhn:orphan/grid4","ref":"orphan/grid4","sha":"672f572349c1c42e920bbad29e46f9f25364069e","user":{"login":"nhn","id":7907400,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDc0MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/7907400?v=4","gravatar_id":"","url":"https://api.github.com/users/nhn","html_url":"https://github.com/nhn","followers_url":"https://api.github.com/users/nhn/followers","following_url":"https://api.github.com/users/nhn/following{/other_user}","gists_url":"https://api.github.com/users/nhn/gists{/gist_id}","starred_url":"https://api.github.com/users/nhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhn/subscriptions","organizations_url":"https://api.github.com/users/nhn/orgs","repos_url":"https://api.github.com/users/nhn/repos","events_url":"https://api.github.com/users/nhn/events{/privacy}","received_events_url":"https://api.github.com/users/nhn/received_events","type":"Organization","site_admin":false},"repo":{"id":36346787,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM0Njc4Nw==","name":"tui.grid","full_name":"nhn/tui.grid","private":false,"owner":{"login":"nhn","id":7907400,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDc0MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/7907400?v=4","gravatar_id":"","url":"https://api.github.com/users/nhn","html_url":"https://github.com/nhn","followers_url":"https://api.github.com/users/nhn/followers","following_url":"https://api.github.com/users/nhn/following{/other_user}","gists_url":"https://api.github.com/users/nhn/gists{/gist_id}","starred_url":"https://api.github.com/users/nhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhn/subscriptions","organizations_url":"https://api.github.com/users/nhn/orgs","repos_url":"https://api.github.com/users/nhn/repos","events_url":"https://api.github.com/users/nhn/events{/privacy}","received_events_url":"https://api.github.com/users/nhn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nhn/tui.grid","description":"🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!","fork":false,"url":"https://api.github.com/repos/nhn/tui.grid","forks_url":"https://api.github.com/repos/nhn/tui.grid/forks","keys_url":"https://api.github.com/repos/nhn/tui.grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhn/tui.grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhn/tui.grid/teams","hooks_url":"https://api.github.com/repos/nhn/tui.grid/hooks","issue_events_url":"https://api.github.com/repos/nhn/tui.grid/issues/events{/number}","events_url":"https://api.github.com/repos/nhn/tui.grid/events","assignees_url":"https://api.github.com/repos/nhn/tui.grid/assignees{/user}","branches_url":"https://api.github.com/repos/nhn/tui.grid/branches{/branch}","tags_url":"https://api.github.com/repos/nhn/tui.grid/tags","blobs_url":"https://api.github.com/repos/nhn/tui.grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhn/tui.grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhn/tui.grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhn/tui.grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhn/tui.grid/statuses/{sha}","languages_url":"https://api.github.com/repos/nhn/tui.grid/languages","stargazers_url":"https://api.github.com/repos/nhn/tui.grid/stargazers","contributors_url":"https://api.github.com/repos/nhn/tui.grid/contributors","subscribers_url":"https://api.github.com/repos/nhn/tui.grid/subscribers","subscription_url":"https://api.github.com/repos/nhn/tui.grid/subscription","commits_url":"https://api.github.com/repos/nhn/tui.grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhn/tui.grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhn/tui.grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhn/tui.grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhn/tui.grid/contents/{+path}","compare_url":"https://api.github.com/repos/nhn/tui.grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhn/tui.grid/merges","archive_url":"https://api.github.com/repos/nhn/tui.grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhn/tui.grid/downloads","issues_url":"https://api.github.com/repos/nhn/tui.grid/issues{/number}","pulls_url":"https://api.github.com/repos/nhn/tui.grid/pulls{/number}","milestones_url":"https://api.github.com/repos/nhn/tui.grid/milestones{/number}","notifications_url":"https://api.github.com/repos/nhn/tui.grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhn/tui.grid/labels{/name}","releases_url":"https://api.github.com/repos/nhn/tui.grid/releases{/id}","deployments_url":"https://api.github.com/repos/nhn/tui.grid/deployments","created_at":"2015-05-27T06:06:04Z","updated_at":"2019-05-20T14:20:17Z","pushed_at":"2019-05-21T01:35:29Z","git_url":"git://github.com/nhn/tui.grid.git","ssh_url":"git@github.com:nhn/tui.grid.git","clone_url":"https://github.com/nhn/tui.grid.git","svn_url":"https://github.com/nhn/tui.grid","homepage":"http://ui.toast.com/tui-grid/","size":44545,"stargazers_count":642,"watchers_count":642,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":37,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":91,"open_issues":37,"watchers":642,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/358"},"html":{"href":"https://github.com/nhn/tui.grid/pull/358"},"issue":{"href":"https://api.github.com/repos/nhn/tui.grid/issues/358"},"comments":{"href":"https://api.github.com/repos/nhn/tui.grid/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nhn/tui.grid/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/nhn/tui.grid/statuses/7ab0f369bf889b75bf1cadf6a04d25d6793ca6d3"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jung-han"}}