{"action":"closed","issue":{"url":"https://api.github.com/repos/jupyter/nbdime/issues/392","repository_url":"https://api.github.com/repos/jupyter/nbdime","labels_url":"https://api.github.com/repos/jupyter/nbdime/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbdime/issues/392/comments","events_url":"https://api.github.com/repos/jupyter/nbdime/issues/392/events","html_url":"https://github.com/jupyter/nbdime/issues/392","id":332249829,"node_id":"MDU6SXNzdWUzMzIyNDk4Mjk=","number":392,"title":"nbdime+ jupyter: select/copy-n-paste doesn't work for code cells","user":{"login":"stas00","id":10676103,"node_id":"MDQ6VXNlcjEwNjc2MTAz","avatar_url":"https://avatars2.githubusercontent.com/u/10676103?v=4","gravatar_id":"","url":"https://api.github.com/users/stas00","html_url":"https://github.com/stas00","followers_url":"https://api.github.com/users/stas00/followers","following_url":"https://api.github.com/users/stas00/following{/other_user}","gists_url":"https://api.github.com/users/stas00/gists{/gist_id}","starred_url":"https://api.github.com/users/stas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas00/subscriptions","organizations_url":"https://api.github.com/users/stas00/orgs","repos_url":"https://api.github.com/users/stas00/repos","events_url":"https://api.github.com/users/stas00/events{/privacy}","received_events_url":"https://api.github.com/users/stas00/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-06-14T04:44:08Z","updated_at":"2018-06-19T13:49:16Z","closed_at":"2018-06-19T13:49:16Z","author_association":"NONE","body":"I've stumbled upon a very strange problem. When diff is shown via jupyter - the code cells in the diff can't be selected/copied to be pasted somewhere else. This defeats the purpose :(\r\n\r\nI saved the html and reduced the problematic html to:\r\n\r\n`<div class=\"CodeMirror-scroll\" tabindex=\"-1\" draggable=\"true\">`\r\n\r\nif draggable is set to false it works (the text is selectable/copyable), with true it doesn't.\r\n\r\neverything else on the page can be selected/copied just fine.\r\n\r\nI had to save the diff as html and to run:\r\n\r\n`perl -pi -e 's|draggable=\"true\"|draggable=\"false\"|' diff.html`\r\n\r\nand then I was able to extract the code diff I was after.\r\n\r\nthis is with nbdime-1.0.1 - same behavior with both firefox and chrome on ubuntu.\r\n\r\nThank you."}}
{"actor":{"display_login":"vidartf"}}