{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/354","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/354/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/354/events","html_url":"https://github.com/ckeditor/ckeditor5-engine/issues/354","id":148585107,"number":354,"title":"View/Model: API standarization","user":{"login":"scofalik","id":1502228,"avatar_url":"https://avatars.githubusercontent.com/u/1502228?v=3","gravatar_id":"","url":"https://api.github.com/users/scofalik","html_url":"https://github.com/scofalik","followers_url":"https://api.github.com/users/scofalik/followers","following_url":"https://api.github.com/users/scofalik/following{/other_user}","gists_url":"https://api.github.com/users/scofalik/gists{/gist_id}","starred_url":"https://api.github.com/users/scofalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scofalik/subscriptions","organizations_url":"https://api.github.com/users/scofalik/orgs","repos_url":"https://api.github.com/users/scofalik/repos","events_url":"https://api.github.com/users/scofalik/events{/privacy}","received_events_url":"https://api.github.com/users/scofalik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-15T07:50:06Z","updated_at":"2016-04-15T07:51:50Z","closed_at":null,"body":"Right now, view and model API differs a bit. I though this will not be painful, but writing converters showed me that it actually is.\r\n\r\nSpotted differences:\r\n* `ViewElement` should be able to get a string as child(ren) instead of `ViewText`, like `ModelElement`\r\n* `getAttributeKeys` + `getAttribute` in view vs `getAttributes` in model\r\n* #351 - `ModelElement.getChildren()`\r\n\r\nIf you spotted or remember any other differences, let me know here."},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/comments/210343415","html_url":"https://github.com/ckeditor/ckeditor5-engine/issues/354#issuecomment-210343415","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5-engine/issues/354","id":210343415,"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-04-15T07:51:50Z","updated_at":"2016-04-15T07:51:50Z","body":"Dup https://github.com/ckeditor/ckeditor5-engine/issues/165."}}