{"action":"opened","issue":{"url":"https://api.github.com/repos/samclarke/SCEditor/issues/614","repository_url":"https://api.github.com/repos/samclarke/SCEditor","labels_url":"https://api.github.com/repos/samclarke/SCEditor/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/samclarke/SCEditor/issues/614/comments","events_url":"https://api.github.com/repos/samclarke/SCEditor/issues/614/events","html_url":"https://github.com/samclarke/SCEditor/issues/614","id":283715702,"number":614,"title":"WYSIWYG: When you add a link - cursor stays inside of [url=...] [/url]. Also, if you press enter - you are creating the same link again","user":{"login":"FilipQL","id":18264428,"avatar_url":"https://avatars2.githubusercontent.com/u/18264428?v=4","gravatar_id":"","url":"https://api.github.com/users/FilipQL","html_url":"https://github.com/FilipQL","followers_url":"https://api.github.com/users/FilipQL/followers","following_url":"https://api.github.com/users/FilipQL/following{/other_user}","gists_url":"https://api.github.com/users/FilipQL/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipQL/subscriptions","organizations_url":"https://api.github.com/users/FilipQL/orgs","repos_url":"https://api.github.com/users/FilipQL/repos","events_url":"https://api.github.com/users/FilipQL/events{/privacy}","received_events_url":"https://api.github.com/users/FilipQL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-20T22:31:53Z","updated_at":"2017-12-20T22:31:53Z","closed_at":null,"author_association":"NONE","body":"When you add a link - cursor stays inside of `[url=...] [/url]` so when you continue with typing - you are just adding additional linked text. For example, I have the following text:\r\n\r\n```\r\nThis is some link\r\n```\r\nI select it:\r\n![mozilla firefox 2017-12-20 23 19 15](https://user-images.githubusercontent.com/18264428/34231467-81e7e6c2-e5dc-11e7-921a-7df86387a4c8.png)\r\n\r\n... and insert a link:\r\n![mozilla firefox 2017-12-20 23 22 10](https://user-images.githubusercontent.com/18264428/34231517-b0e547c6-e5dc-11e7-8a55-8a8b426ef09d.png)\r\n\r\nNow when I start typing - I am just adding new text inside `[url=...] [/url]`:\r\n\r\n![mozilla firefox 2017-12-20 23 24 52](https://user-images.githubusercontent.com/18264428/34231602-026722b8-e5dd-11e7-8f7a-efc9f3e5e315.png)\r\n\r\nAlso, if I press **ENTER** (go to new line) - WYSIWYG editor is adding **another** link:\r\n\r\n![mozilla firefox 2017-12-20 23 26 05](https://user-images.githubusercontent.com/18264428/34231655-313e4d6e-e5dd-11e7-95d5-14bf7e251a3a.png)\r\n```\r\n[url=https://github.com]This is some link SFDGSDFGSDFGSDFG[/url]\r\n[url=https://github.com]THIS IS NEW LINE[/url]\r\n```\r\nI know that I can go to \"Source\" and move out of `[url=...] [/url]`... but is it possible (is there an option) to configure SCEditor so that when you add a link - it automatically moves cursor **out of** `[url=...] [/url]`?\r\n"}}
{"actor":{"display_login":"FilipQL"}}