{"action":"opened","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/312","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/312/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/312/events","html_url":"https://github.com/ckeditor/ckeditor5-engine/issues/312","id":145704206,"number":312,"title":"Writer should wrap position and break on po","user":{"login":"pjasiun","id":1166967,"avatar_url":"https://avatars.githubusercontent.com/u/1166967?v=3","gravatar_id":"","url":"https://api.github.com/users/pjasiun","html_url":"https://github.com/pjasiun","followers_url":"https://api.github.com/users/pjasiun/followers","following_url":"https://api.github.com/users/pjasiun/following{/other_user}","gists_url":"https://api.github.com/users/pjasiun/gists{/gist_id}","starred_url":"https://api.github.com/users/pjasiun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjasiun/subscriptions","organizations_url":"https://api.github.com/users/pjasiun/orgs","repos_url":"https://api.github.com/users/pjasiun/repos","events_url":"https://api.github.com/users/pjasiun/events{/privacy}","received_events_url":"https://api.github.com/users/pjasiun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T14:41:39Z","updated_at":"2016-04-04T14:41:39Z","closed_at":null,"body":"Because of the selection conversion writer should be able to wrap the empty range (or position) and return new position. For example:\r\n```\r\n<b>foo</b>^ -> wrap( '<b>' ) -> <b>foo^</b>\r\nfo^o -> wrap( '<b>' ) -> fo<b>^</b>o\r\n```"}}