{"action":"created","issue":{"url":"https://api.github.com/repos/fraywing/textAngular/issues/1064","repository_url":"https://api.github.com/repos/fraywing/textAngular","labels_url":"https://api.github.com/repos/fraywing/textAngular/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/fraywing/textAngular/issues/1064/comments","events_url":"https://api.github.com/repos/fraywing/textAngular/issues/1064/events","html_url":"https://github.com/fraywing/textAngular/issues/1064","id":131307201,"number":1064,"title":"Copying tables from a MS Word document","user":{"login":"tholene","id":3428881,"avatar_url":"https://avatars.githubusercontent.com/u/3428881?v=3","gravatar_id":"","url":"https://api.github.com/users/tholene","html_url":"https://github.com/tholene","followers_url":"https://api.github.com/users/tholene/followers","following_url":"https://api.github.com/users/tholene/following{/other_user}","gists_url":"https://api.github.com/users/tholene/gists{/gist_id}","starred_url":"https://api.github.com/users/tholene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tholene/subscriptions","organizations_url":"https://api.github.com/users/tholene/orgs","repos_url":"https://api.github.com/users/tholene/repos","events_url":"https://api.github.com/users/tholene/events{/privacy}","received_events_url":"https://api.github.com/users/tholene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T10:36:35Z","updated_at":"2016-02-04T16:46:48Z","closed_at":null,"body":"I tried to break down this issue as well as I could, but frankly I'm not sure how much it helps.\r\n\r\nThis is basically what's happening on the user side:\r\n![GIF](https://i.gyazo.com/53d5c0614b52b0d4635d1659d26762b5.gif)\r\n\r\nThe text inside the cell is being copied (sometimes even multiple cells at once). When the user tries to paste the text into the `<text-angular ta-paste=\"myFunc($html)\">` input field, the `$htm`l is empty when my function runs.\r\n\r\nI managed to figure out that this is probably happening in the `var processpaste = function(text) {...}`, because if I log the text variable being passed on actually has the content.\r\n\r\nAt some point in this function the text variable is just empty and that's what eventually is returned."},"comment":{"url":"https://api.github.com/repos/fraywing/textAngular/issues/comments/179939925","html_url":"https://github.com/fraywing/textAngular/issues/1064#issuecomment-179939925","issue_url":"https://api.github.com/repos/fraywing/textAngular/issues/1064","id":179939925,"user":{"login":"pbassut","id":1500037,"avatar_url":"https://avatars.githubusercontent.com/u/1500037?v=3","gravatar_id":"","url":"https://api.github.com/users/pbassut","html_url":"https://github.com/pbassut","followers_url":"https://api.github.com/users/pbassut/followers","following_url":"https://api.github.com/users/pbassut/following{/other_user}","gists_url":"https://api.github.com/users/pbassut/gists{/gist_id}","starred_url":"https://api.github.com/users/pbassut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbassut/subscriptions","organizations_url":"https://api.github.com/users/pbassut/orgs","repos_url":"https://api.github.com/users/pbassut/repos","events_url":"https://api.github.com/users/pbassut/events{/privacy}","received_events_url":"https://api.github.com/users/pbassut/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T16:46:48Z","updated_at":"2016-02-04T16:46:48Z","body":"hmmm. I need to investigate this issue. A couple of things related to pasting was added in 1.5.0.\r\nAre you using 1.5.0?"}}