{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/98","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/98/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/98/events","html_url":"https://github.com/ckeditor/ckeditor5/issues/98","id":138480106,"number":98,"title":"Implement the enter feature","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/labels/module:project","name":"module:project","color":"fef2c0"},{"url":"https://api.github.com/repos/ckeditor/ckeditor5/labels/type:feature","name":"type:feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/milestones/1","html_url":"https://github.com/ckeditor/ckeditor5/milestones/0.1.0","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5/milestones/1/labels","id":1622220,"number":1,"title":"0.1.0","description":"First demoable version.","creator":{"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},"open_issues":14,"closed_issues":52,"state":"open","created_at":"2016-03-04T13:37:49Z","updated_at":"2016-03-16T08:25:36Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-03-04T13:45:16Z","updated_at":"2016-03-16T14:26:37Z","closed_at":null,"body":"To be implemented in ckeditor5-enter."},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/comments/197353847","html_url":"https://github.com/ckeditor/ckeditor5/issues/98#issuecomment-197353847","issue_url":"https://api.github.com/repos/ckeditor/ckeditor5/issues/98","id":197353847,"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},"created_at":"2016-03-16T14:26:37Z","updated_at":"2016-03-16T14:26:37Z","body":"> Why you say \"'p' element\", not \"'paragraph' node\"? Enter works on the Data Model, so we don't care how converters represents it in the view.\r\n\r\nBecause we haven't decided yet whether we'll call it `p` or `paragraph` :D. Most likely it will be `paragraph`, to not make too close relations to how the DOM will look. It won't help much in this case, but should make a difference in other cases. Anyway, `p` was just faster to type now. And, to be precise, it's not a `paragraph` node, but element.\r\n\r\n> I was just wondering what happens if the paragraph feature is not available. In such case $defaultBlock (my preferred name for it as it doesn't involve \"inheritance\") may be null and then, for example, the heading feature may decide to start a new heading on ENTER (or actually just leave the default implementation to run).\r\n\r\nIf the paragraph feature won't be defined then `paragraph` element won't be allowed by the schema. So that's why we don't need `$defaultBlock` to know whether enter can create a block. It's just a question whether we want to hardcode the name and whether (perhaps) it should be in anyway dynamic."}}