{"action":"created","issue":{"url":"https://api.github.com/repos/inkle/inky/issues/146","repository_url":"https://api.github.com/repos/inkle/inky","labels_url":"https://api.github.com/repos/inkle/inky/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/inkle/inky/issues/146/comments","events_url":"https://api.github.com/repos/inkle/inky/issues/146/events","html_url":"https://github.com/inkle/inky/issues/146","id":307454455,"number":146,"title":"Web Export - Player Hyperlinks","user":{"login":"SirMetathyst","id":34924197,"avatar_url":"https://avatars0.githubusercontent.com/u/34924197?v=4","gravatar_id":"","url":"https://api.github.com/users/SirMetathyst","html_url":"https://github.com/SirMetathyst","followers_url":"https://api.github.com/users/SirMetathyst/followers","following_url":"https://api.github.com/users/SirMetathyst/following{/other_user}","gists_url":"https://api.github.com/users/SirMetathyst/gists{/gist_id}","starred_url":"https://api.github.com/users/SirMetathyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirMetathyst/subscriptions","organizations_url":"https://api.github.com/users/SirMetathyst/orgs","repos_url":"https://api.github.com/users/SirMetathyst/repos","events_url":"https://api.github.com/users/SirMetathyst/events{/privacy}","received_events_url":"https://api.github.com/users/SirMetathyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-21T23:33:11Z","updated_at":"2018-03-22T13:33:42Z","closed_at":null,"author_association":"NONE","body":"Say I have a chapter of something and I want to split up a \"book\" into multiple web pages. How can export to web but create a hyperlink in the text of the story to some web page and also be able to create a hyperlink to a web page which is a choice. for example:\r\n\r\n\"The robot drew near to the spaceship\" [link to webpage]text\r\n\r\n- Destroy It (hyperlink to a webpage).\r\n- Walk past it.\r\n\r\nis that possible? If not, what would I need to change to make this work (assuming this would need to be done in js engine or something)\r\n\r\nEDIT:\r\nCould implement this in unity easily though (crap at js) but I like the scroll effect and the text being added to the end of a webpage which I can't get if I export to webgl with unity as far as I know."},"comment":{"url":"https://api.github.com/repos/inkle/inky/issues/comments/375307147","html_url":"https://github.com/inkle/inky/issues/146#issuecomment-375307147","issue_url":"https://api.github.com/repos/inkle/inky/issues/146","id":375307147,"user":{"login":"y-lohse","id":2261445,"avatar_url":"https://avatars2.githubusercontent.com/u/2261445?v=4","gravatar_id":"","url":"https://api.github.com/users/y-lohse","html_url":"https://github.com/y-lohse","followers_url":"https://api.github.com/users/y-lohse/followers","following_url":"https://api.github.com/users/y-lohse/following{/other_user}","gists_url":"https://api.github.com/users/y-lohse/gists{/gist_id}","starred_url":"https://api.github.com/users/y-lohse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-lohse/subscriptions","organizations_url":"https://api.github.com/users/y-lohse/orgs","repos_url":"https://api.github.com/users/y-lohse/repos","events_url":"https://api.github.com/users/y-lohse/events{/privacy}","received_events_url":"https://api.github.com/users/y-lohse/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T13:33:42Z","updated_at":"2018-03-22T13:33:42Z","author_association":"NONE","body":"Oh right, I didn't see the template was already using links. It doesn't work because [click events are canceled](https://github.com/inkle/inky/blob/master/app/export-for-web-template/main.js#L68) afterwards. But you could change that code to only cancel the event when the link's target is not a different URL."}}
{"actor":{"display_login":"y-lohse"}}