{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/592","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/592/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/592/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/592/events","html_url":"https://github.com/ckeditor/ckeditor5/issues/592","id":263402526,"number":592,"title":"\"View Source\" functionality / plugin","user":{"login":"mborejdo","id":52340,"avatar_url":"https://avatars3.githubusercontent.com/u/52340?v=4","gravatar_id":"","url":"https://api.github.com/users/mborejdo","html_url":"https://github.com/mborejdo","followers_url":"https://api.github.com/users/mborejdo/followers","following_url":"https://api.github.com/users/mborejdo/following{/other_user}","gists_url":"https://api.github.com/users/mborejdo/gists{/gist_id}","starred_url":"https://api.github.com/users/mborejdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mborejdo/subscriptions","organizations_url":"https://api.github.com/users/mborejdo/orgs","repos_url":"https://api.github.com/users/mborejdo/repos","events_url":"https://api.github.com/users/mborejdo/events{/privacy}","received_events_url":"https://api.github.com/users/mborejdo/received_events","type":"User","site_admin":false},"labels":[{"id":167749396,"url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/status:discussion","name":"status:discussion","color":"e6e6e6","default":false},{"id":285243909,"url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/type:feature","name":"type:feature","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-10-06T10:31:40Z","updated_at":"2017-11-22T14:08:03Z","closed_at":null,"author_association":"NONE","body":"Hey there!\r\n\r\nwe are evaluating an ckeditor4 -> 5 upgrade.\r\nUnfortunately I cannot find anything related to the \"view source\" button/functionality.\r\nIs this a feature which will be implemented as a plugin? Or is this something the new dataprocessing/view engine is handling? Is there an ETA? (I cannot seem to find it on the roadmap docs and searching for \"source\" and/or \"view\" across the repos leads to many unrelated issues.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/comments/346359957","html_url":"https://github.com/ckeditor/ckeditor5/issues/592#issuecomment-346359957","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/592","id":346359957,"user":{"login":"Reinmar","id":156149,"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},"created_at":"2017-11-22T14:08:03Z","updated_at":"2017-11-22T14:08:03Z","author_association":"OWNER","body":"> I understand you guys want to keep the data model and the serialization format separate, but then you have to be sure that users don't get stuck very often. My experience as a CKEditor4 user is that that editing certain kinds of content (e.g. bullet lists) can be tricky. I will sometimes switch to source view as non-destructive way of solving problems.\r\n\r\nA very good point. This is, I think, the only reason why I used source mode in CKEditor 4 myself.\r\n\r\nA typical use case may look like this:\r\n\r\n1. You paste some content with lists to the editor.\r\n2. It turns out that there are multiple paragraphs and headings in some list items intermixed with some more lists, etc. Basically, a mess for the editor to control.\r\n3. CKEditor 4 has no mechanisms to clean that up. Neither does ACF help, nor you can edit that in the visual mode later on.\r\n4. So you switch to the source mode and figure out how to convert that to a proper, editable HTML.\r\n\r\nAnother scenario is applying a format (e.g. a heading) to a list item. It converts `<li>foo</li>` to `<li><h1>foo</h1></li>` and you can't go back to `<li>foo</li>`... ;/ You can only get `<li><p>foo</p></li>` now.\r\n\r\nThis is bad. And CKEditor 5 fixes all these issues :) How? With the new data model and redesigned features.\r\n\r\nOf course, a big part of the \"fix\" comes from the fact that CKEditor 5's features allow far less than CKEditor 4. E.g. you can't have any blocks in list items. But that's exactly the point. Features need to be defined more precisely and target well-defined use cases. The current lists are supposed to support simple article use cases and we expect to have, as we call them, [\"document lists\"](https://github.com/ckeditor/ckeditor5-list/issues/47) in the future as a separate feature. It will handle only these more complicated lists and will need to figure out ways to edit them. It will do one thing, but it will do it well.\r\n\r\nSo, as @scofalik wrote – if such situations occur that you can't achieve some result in CKEditor 5, then they are bugs and we'll be grateful for reporting them to us."}}
{"actor":{"display_login":"Reinmar"}}