{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/141","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5-design","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/141/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/141/events","html_url":"https://github.com/ckeditor/ckeditor5-design/issues/141","id":142297100,"number":141,"title":"Use cases for editors with multiple editables","user":{"login":"Reinmar","id":156149,"avatar_url":"https://avatars.githubusercontent.com/u/156149?v=3","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},"labels":[{"url":"https://api.github.com/repos/ckeditor/ckeditor5-design/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T09:40:33Z","updated_at":"2016-03-21T09:54:18Z","closed_at":null,"body":"I've been trying to create a manual for such an editor test and stuck on this, because it turns out that the number of use cases is quite limited. \r\n\r\nThere are two important aspects:\r\n\r\n1. All editables share one undo stack (and, in general, one data model). So you shouldn't use one editor with multiple editables if you have entities which are unrelated to each other.\r\n2. Editor has just one configuration, so if editables are of a very different type (e.g. title and post body), then the creator you use must either know what editables these are (e.g. to display different toolbars for them) or it needs to configure the features by the schema (something like CKE4's allowed content, but, to some extent, it may be different for each editable, affecting the features).\r\n\r\nSo I just wonder what use cases do you see taken these limitations?\r\n\r\n**Note:** You can always create multiple editors, so it's absolutely up to you when to use multiple editables. It just seems that it will be a feature useful only in a very specific scenarios."},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/comments/199200589","html_url":"https://github.com/ckeditor/ckeditor5-design/issues/141#issuecomment-199200589","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5-design/issues/141","id":199200589,"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},"created_at":"2016-03-21T09:54:18Z","updated_at":"2016-03-21T09:54:18Z","body":"I see multiple editable as similar feature to nested editable, but with uneditable template.\r\n\r\nOne may have a special tools for manipulating that template, adding or sort editable blocks, but you can not edit the whole template as you can edit text.\r\n\r\nAnother case is a toolbar to the top of the page which allows you to editor parts of the page: title, menu, article. Similarly, these are editable parts of uneditable root.\r\n\r\nIn both cases there is one editor for all editables. It means one toolbar and one config. If you want to have some buttons disabled in some fields it is possible the same way some buttons are disabled in nested editable. But one should not expect different editors behavior in different editables, if he use single editor for all of them."}}