{"action":"created","issue":{"url":"https://api.github.com/repos/PRX/publish.prx.org/issues/152","repository_url":"https://api.github.com/repos/PRX/publish.prx.org","labels_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/152/comments","events_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/152/events","html_url":"https://github.com/PRX/publish.prx.org/pull/152","id":196516779,"number":152,"title":"edit links in prosemirror wysiwyg editor","user":{"login":"sandikbarr","id":2250413,"avatar_url":"https://avatars.githubusercontent.com/u/2250413?v=3","gravatar_id":"","url":"https://api.github.com/users/sandikbarr","html_url":"https://github.com/sandikbarr","followers_url":"https://api.github.com/users/sandikbarr/followers","following_url":"https://api.github.com/users/sandikbarr/following{/other_user}","gists_url":"https://api.github.com/users/sandikbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandikbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandikbarr/subscriptions","organizations_url":"https://api.github.com/users/sandikbarr/orgs","repos_url":"https://api.github.com/users/sandikbarr/repos","events_url":"https://api.github.com/users/sandikbarr/events{/privacy}","received_events_url":"https://api.github.com/users/sandikbarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T20:47:18Z","updated_at":"2016-12-20T17:32:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PRX/publish.prx.org/pulls/152","html_url":"https://github.com/PRX/publish.prx.org/pull/152","diff_url":"https://github.com/PRX/publish.prx.org/pull/152.diff","patch_url":"https://github.com/PRX/publish.prx.org/pull/152.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/PRX/publish.prx.org/issues/comments/268305543","html_url":"https://github.com/PRX/publish.prx.org/pull/152#issuecomment-268305543","issue_url":"https://api.github.com/repos/PRX/publish.prx.org/issues/152","id":268305543,"user":{"login":"sandikbarr","id":2250413,"avatar_url":"https://avatars.githubusercontent.com/u/2250413?v=3","gravatar_id":"","url":"https://api.github.com/users/sandikbarr","html_url":"https://github.com/sandikbarr","followers_url":"https://api.github.com/users/sandikbarr/followers","following_url":"https://api.github.com/users/sandikbarr/following{/other_user}","gists_url":"https://api.github.com/users/sandikbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandikbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandikbarr/subscriptions","organizations_url":"https://api.github.com/users/sandikbarr/orgs","repos_url":"https://api.github.com/users/sandikbarr/repos","events_url":"https://api.github.com/users/sandikbarr/events{/privacy}","received_events_url":"https://api.github.com/users/sandikbarr/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T17:32:05Z","updated_at":"2016-12-20T17:32:05Z","body":" - [ ] I noticed this about being at the beginning of a link too. I might be able to trick prosemirror's mark detection into thinking it's on the mark when at the beginning of a link, but it's gonna be fussy. I'll give it a shot and report back.\r\n* The inclusion of new text into the end of an existing mark (link) is fully controlled by prosemirror. It's not a good solution at all, but if you break the mark by typing on a new line, you can remove the line break and get to where you were going.\r\n* Yeah, this removed the toggle link mark off functionality. The links now can be removed by removing the linked text. Rather than just handling toggle off for links, it seems like it would be possible to add another button to the toolbar that would clear any kind of mark/formatting. If we want to go that route, I'd prefer to make it a separate issue/PR.\r\n- [ ] Yikes. Definitely needs to focus on the url when opening prompt. Good call!"}}
{"actor":{"display_login":"sandikbarr"}}