{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/1114","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/1114/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/1114/events","html_url":"https://github.com/ckeditor/ckeditor5/issues/1114","id":336186625,"node_id":"MDU6SXNzdWUzMzYxODY2MjU=","number":1114,"title":"Expand selection when toggling bold and similar styles","user":{"login":"dimaip","id":837032,"node_id":"MDQ6VXNlcjgzNzAzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"labels":[{"id":631575629,"node_id":"MDU6TGFiZWw2MzE1NzU2Mjk=","url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/package:basic-styles","name":"package:basic-styles","color":"fef2c0","default":false},{"id":167749396,"node_id":"MDU6TGFiZWwxNjc3NDkzOTY=","url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/status:discussion","name":"status:discussion","color":"e6e6e6","default":false},{"id":164194249,"node_id":"MDU6TGFiZWwxNjQxOTQyNDk=","url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/type:enhancement","name":"type:enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/milestones/15","html_url":"https://github.com/ckeditor/ckeditor5/milestone/15","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5/milestones/15/labels","id":3230960,"node_id":"MDk6TWlsZXN0b25lMzIzMDk2MA==","number":15,"title":"backlog","description":null,"creator":{"login":"Reinmar","id":156149,"node_id":"MDQ6VXNlcjE1NjE0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/156149?v=4","gravatar_id":"","url":"https://api.github.com/users/Reinmar","html_url":"https://github.com/Reinmar","followers_url":"https://api.github.com/users/Reinmar/followers","following_url":"https://api.github.com/users/Reinmar/following{/other_user}","gists_url":"https://api.github.com/users/Reinmar/gists{/gist_id}","starred_url":"https://api.github.com/users/Reinmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reinmar/subscriptions","organizations_url":"https://api.github.com/users/Reinmar/orgs","repos_url":"https://api.github.com/users/Reinmar/repos","events_url":"https://api.github.com/users/Reinmar/events{/privacy}","received_events_url":"https://api.github.com/users/Reinmar/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":0,"state":"open","created_at":"2018-03-30T12:24:37Z","updated_at":"2018-07-20T11:40:53Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2018-06-27T11:20:11Z","updated_at":"2018-07-31T13:41:16Z","closed_at":null,"author_association":"NONE","body":"🐞 Bug report\r\n\r\n💻 Version of CKEditor: 5.x, in any form\r\n\r\n📋 Steps to reproduce\r\n\r\n1. Select a word, make it bold\r\n2. Click in the middle of the bold word, and press \"B\" to unbold it\r\n3. The word is split into two halves with an empty block in the middle\r\n\r\n✅ Expected result\r\n\r\nIn CKE4 the whole word would be unbolded.\r\n\r\n❎ Actual result\r\n\r\n![image](https://user-images.githubusercontent.com/837032/41970555-893a942e-7a0b-11e8-9805-37ea168692f2.png)\r\n\r\nIt would make a lot of sense if it worked this way not only when unbolding, but also when making things bold. CKE4 didn't behave this way, but most other text editors (e.g. Word, Google Docs, OpenOffice, Aloha etc) do it.\r\n\r\nSo what I would expect:\r\n\r\n1. click in the middle of the word (probably only makes sense in the middle of a word, and not at the edges, the way it is implemented in most editors)\r\n2. click \"B\"\r\n3. the whole word is made bold\r\n\r\nHere is an example video how OpenOffice handles that:\r\n![peek 2018-06-27 13-18](https://user-images.githubusercontent.com/837032/41970896-c43489a8-7a0c-11e8-9a5e-8a5ebb19b23f.gif)\r\n\r\np.s. obviously what I've written is relevant not only to bold, but to any other formats as well\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/comments/409224751","html_url":"https://github.com/ckeditor/ckeditor5/issues/1114#issuecomment-409224751","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/1114","id":409224751,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTIyNDc1MQ==","user":{"login":"dimaip","id":837032,"node_id":"MDQ6VXNlcjgzNzAzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T13:41:16Z","updated_at":"2018-07-31T13:41:16Z","author_association":"NONE","body":"@f1ames it doesn't unbold (rather splits the word in two tags, see original issue description) + throws the error.\r\nNo, we don't have any special plugins aimed at fixing this problem."}}
{"actor":{"display_login":"dimaip"}}