{"action":"created","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/938","repository_url":"https://api.github.com/repos/quilljs/quill","labels_url":"https://api.github.com/repos/quilljs/quill/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/938/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/938/events","html_url":"https://github.com/quilljs/quill/issues/938","id":175862524,"number":938,"title":"Link button broken","user":{"login":"mpriscella","id":384382,"avatar_url":"https://avatars.githubusercontent.com/u/384382?v=3","gravatar_id":"","url":"https://api.github.com/users/mpriscella","html_url":"https://github.com/mpriscella","followers_url":"https://api.github.com/users/mpriscella/followers","following_url":"https://api.github.com/users/mpriscella/following{/other_user}","gists_url":"https://api.github.com/users/mpriscella/gists{/gist_id}","starred_url":"https://api.github.com/users/mpriscella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpriscella/subscriptions","organizations_url":"https://api.github.com/users/mpriscella/orgs","repos_url":"https://api.github.com/users/mpriscella/repos","events_url":"https://api.github.com/users/mpriscella/events{/privacy}","received_events_url":"https://api.github.com/users/mpriscella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-08T20:56:57Z","updated_at":"2016-09-08T21:43:18Z","closed_at":null,"body":"The link button on my toolbar is failing to link the selected text.\r\n\r\n**Steps for Reproduction**\r\n```\r\n// Toolbar Options.\r\n[\r\n  [{ header: [false, 1, 2] }],\r\n  [\"bold\", \"italic\", \"underline\"],\r\n  [\"blockquote\"],\r\n  [\"link\"]\r\n]\r\n```\r\n\r\n1. Create new Quill editor with the above toolbar options.\r\n2. Insert text and then select it.\r\n3. Click the 'link' toolbar button.\r\n\r\n**Expected behavior**:\r\nHighlighted text is converted into an anchor tag.\r\n\r\n**Actual behavior**:\r\nHighlighted text is unaffected and the following error appears in the console\r\n\r\n`Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null`.\r\n\r\nIf you refer to the `js/quill.js` file in the `1.0.3` release tarball, the error is happening around line `9420` (which seems to originate [here](https://github.com/quilljs/quill/blob/develop/ui/tooltip.js#L30)).\r\n\r\n**Platforms**:\r\nGoogle Chrome 53.0.2785.101 (64-bit) running on OSX 10.11.6\r\n\r\n**Version**:\r\n1.0.3"},"comment":{"url":"https://api.github.com/repos/quilljs/quill/issues/comments/245751080","html_url":"https://github.com/quilljs/quill/issues/938#issuecomment-245751080","issue_url":"https://api.github.com/repos/quilljs/quill/issues/938","id":245751080,"user":{"login":"benbro","id":75841,"avatar_url":"https://avatars.githubusercontent.com/u/75841?v=3","gravatar_id":"","url":"https://api.github.com/users/benbro","html_url":"https://github.com/benbro","followers_url":"https://api.github.com/users/benbro/followers","following_url":"https://api.github.com/users/benbro/following{/other_user}","gists_url":"https://api.github.com/users/benbro/gists{/gist_id}","starred_url":"https://api.github.com/users/benbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbro/subscriptions","organizations_url":"https://api.github.com/users/benbro/orgs","repos_url":"https://api.github.com/users/benbro/repos","events_url":"https://api.github.com/users/benbro/events{/privacy}","received_events_url":"https://api.github.com/users/benbro/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T21:43:18Z","updated_at":"2016-09-08T21:43:18Z","body":"With your codepen the tooltip doesn't show but I don't see an error in the console."}}
{"actor":{"display_login":"benbro"}}