{"action":"opened","number":254,"pull_request":{"url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254","id":52598602,"html_url":"https://github.com/bustlelabs/mobiledoc-kit/pull/254","diff_url":"https://github.com/bustlelabs/mobiledoc-kit/pull/254.diff","patch_url":"https://github.com/bustlelabs/mobiledoc-kit/pull/254.patch","issue_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/254","number":254,"state":"open","locked":false,"title":"Add support for tabs","user":{"login":"mixonic","id":8752,"avatar_url":"https://avatars.githubusercontent.com/u/8752?v=3","gravatar_id":"","url":"https://api.github.com/users/mixonic","html_url":"https://github.com/mixonic","followers_url":"https://api.github.com/users/mixonic/followers","following_url":"https://api.github.com/users/mixonic/following{/other_user}","gists_url":"https://api.github.com/users/mixonic/gists{/gist_id}","starred_url":"https://api.github.com/users/mixonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixonic/subscriptions","organizations_url":"https://api.github.com/users/mixonic/orgs","repos_url":"https://api.github.com/users/mixonic/repos","events_url":"https://api.github.com/users/mixonic/events{/privacy}","received_events_url":"https://api.github.com/users/mixonic/received_events","type":"User","site_admin":false},"body":"Tabs are represented by tab characters in Mobiledoc, ala `\\t`, and in rendered DOM are represented as an emspace: `\\u2003`. This is a compromise for expediency. To use a non-character (a span without contenteditable enabled) we would need to take on many of the challenges atoms area already taking on. I prefer to call this a workable solution and we can tweak the DOM representation at a later time.\r\n\r\nAdditionally fix an issue with white-space only markers being the first thing in a section. They were disregarded by the renderer, errantly.\r\n\r\n![demo](http://g.recordit.co/ifecJZaHIc.gif)\r\n\r\nThis will require followup PRs to the renderers, but is harmless to merge (the renderer will just render a tab character, which in HTML will be invisible).","created_at":"2015-12-03T21:56:13Z","updated_at":"2015-12-03T21:56:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c664b679df232f95526f97b6fd6e5ae181d4615c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254/commits","review_comments_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254/comments","review_comment_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/254/comments","statuses_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/statuses/3acefacb9c802ff685af6b21c91bbc1b3b11ac49","head":{"label":"mixonic:tab-next","ref":"tab-next","sha":"3acefacb9c802ff685af6b21c91bbc1b3b11ac49","user":{"login":"mixonic","id":8752,"avatar_url":"https://avatars.githubusercontent.com/u/8752?v=3","gravatar_id":"","url":"https://api.github.com/users/mixonic","html_url":"https://github.com/mixonic","followers_url":"https://api.github.com/users/mixonic/followers","following_url":"https://api.github.com/users/mixonic/following{/other_user}","gists_url":"https://api.github.com/users/mixonic/gists{/gist_id}","starred_url":"https://api.github.com/users/mixonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixonic/subscriptions","organizations_url":"https://api.github.com/users/mixonic/orgs","repos_url":"https://api.github.com/users/mixonic/repos","events_url":"https://api.github.com/users/mixonic/events{/privacy}","received_events_url":"https://api.github.com/users/mixonic/received_events","type":"User","site_admin":false},"repo":{"id":38009584,"name":"content-kit-editor","full_name":"mixonic/content-kit-editor","owner":{"login":"mixonic","id":8752,"avatar_url":"https://avatars.githubusercontent.com/u/8752?v=3","gravatar_id":"","url":"https://api.github.com/users/mixonic","html_url":"https://github.com/mixonic","followers_url":"https://api.github.com/users/mixonic/followers","following_url":"https://api.github.com/users/mixonic/following{/other_user}","gists_url":"https://api.github.com/users/mixonic/gists{/gist_id}","starred_url":"https://api.github.com/users/mixonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mixonic/subscriptions","organizations_url":"https://api.github.com/users/mixonic/orgs","repos_url":"https://api.github.com/users/mixonic/repos","events_url":"https://api.github.com/users/mixonic/events{/privacy}","received_events_url":"https://api.github.com/users/mixonic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mixonic/content-kit-editor","description":"A modern, minimalist WYSIWYG editor","fork":true,"url":"https://api.github.com/repos/mixonic/content-kit-editor","forks_url":"https://api.github.com/repos/mixonic/content-kit-editor/forks","keys_url":"https://api.github.com/repos/mixonic/content-kit-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mixonic/content-kit-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mixonic/content-kit-editor/teams","hooks_url":"https://api.github.com/repos/mixonic/content-kit-editor/hooks","issue_events_url":"https://api.github.com/repos/mixonic/content-kit-editor/issues/events{/number}","events_url":"https://api.github.com/repos/mixonic/content-kit-editor/events","assignees_url":"https://api.github.com/repos/mixonic/content-kit-editor/assignees{/user}","branches_url":"https://api.github.com/repos/mixonic/content-kit-editor/branches{/branch}","tags_url":"https://api.github.com/repos/mixonic/content-kit-editor/tags","blobs_url":"https://api.github.com/repos/mixonic/content-kit-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mixonic/content-kit-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mixonic/content-kit-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/mixonic/content-kit-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mixonic/content-kit-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/mixonic/content-kit-editor/languages","stargazers_url":"https://api.github.com/repos/mixonic/content-kit-editor/stargazers","contributors_url":"https://api.github.com/repos/mixonic/content-kit-editor/contributors","subscribers_url":"https://api.github.com/repos/mixonic/content-kit-editor/subscribers","subscription_url":"https://api.github.com/repos/mixonic/content-kit-editor/subscription","commits_url":"https://api.github.com/repos/mixonic/content-kit-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/mixonic/content-kit-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/mixonic/content-kit-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/mixonic/content-kit-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/mixonic/content-kit-editor/contents/{+path}","compare_url":"https://api.github.com/repos/mixonic/content-kit-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mixonic/content-kit-editor/merges","archive_url":"https://api.github.com/repos/mixonic/content-kit-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mixonic/content-kit-editor/downloads","issues_url":"https://api.github.com/repos/mixonic/content-kit-editor/issues{/number}","pulls_url":"https://api.github.com/repos/mixonic/content-kit-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/mixonic/content-kit-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/mixonic/content-kit-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mixonic/content-kit-editor/labels{/name}","releases_url":"https://api.github.com/repos/mixonic/content-kit-editor/releases{/id}","created_at":"2015-06-24T20:35:41Z","updated_at":"2015-08-01T03:33:21Z","pushed_at":"2015-12-03T21:56:10Z","git_url":"git://github.com/mixonic/content-kit-editor.git","ssh_url":"git@github.com:mixonic/content-kit-editor.git","clone_url":"https://github.com/mixonic/content-kit-editor.git","svn_url":"https://github.com/mixonic/content-kit-editor","homepage":"","size":2759,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"bustlelabs:master","ref":"master","sha":"e0013dd484d50d5d97e53c214b14e9deae6b0c20","user":{"login":"bustlelabs","id":2198187,"avatar_url":"https://avatars.githubusercontent.com/u/2198187?v=3","gravatar_id":"","url":"https://api.github.com/users/bustlelabs","html_url":"https://github.com/bustlelabs","followers_url":"https://api.github.com/users/bustlelabs/followers","following_url":"https://api.github.com/users/bustlelabs/following{/other_user}","gists_url":"https://api.github.com/users/bustlelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bustlelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustlelabs/subscriptions","organizations_url":"https://api.github.com/users/bustlelabs/orgs","repos_url":"https://api.github.com/users/bustlelabs/repos","events_url":"https://api.github.com/users/bustlelabs/events{/privacy}","received_events_url":"https://api.github.com/users/bustlelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":21694966,"name":"mobiledoc-kit","full_name":"bustlelabs/mobiledoc-kit","owner":{"login":"bustlelabs","id":2198187,"avatar_url":"https://avatars.githubusercontent.com/u/2198187?v=3","gravatar_id":"","url":"https://api.github.com/users/bustlelabs","html_url":"https://github.com/bustlelabs","followers_url":"https://api.github.com/users/bustlelabs/followers","following_url":"https://api.github.com/users/bustlelabs/following{/other_user}","gists_url":"https://api.github.com/users/bustlelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bustlelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustlelabs/subscriptions","organizations_url":"https://api.github.com/users/bustlelabs/orgs","repos_url":"https://api.github.com/users/bustlelabs/repos","events_url":"https://api.github.com/users/bustlelabs/events{/privacy}","received_events_url":"https://api.github.com/users/bustlelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bustlelabs/mobiledoc-kit","description":"A toolkit for building WYSIWYG editors with Mobiledoc","fork":false,"url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit","forks_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/forks","keys_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/teams","hooks_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/hooks","issue_events_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/events{/number}","events_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/events","assignees_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/assignees{/user}","branches_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/branches{/branch}","tags_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/tags","blobs_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/languages","stargazers_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/stargazers","contributors_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/contributors","subscribers_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/subscribers","subscription_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/subscription","commits_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/contents/{+path}","compare_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/merges","archive_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/downloads","issues_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues{/number}","pulls_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/labels{/name}","releases_url":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/releases{/id}","created_at":"2014-07-10T13:22:19Z","updated_at":"2015-12-02T21:48:12Z","pushed_at":"2015-12-03T21:56:13Z","git_url":"git://github.com/bustlelabs/mobiledoc-kit.git","ssh_url":"git@github.com:bustlelabs/mobiledoc-kit.git","clone_url":"https://github.com/bustlelabs/mobiledoc-kit.git","svn_url":"https://github.com/bustlelabs/mobiledoc-kit","homepage":"","size":2832,"stargazers_count":148,"watchers_count":148,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":18,"forks":13,"open_issues":18,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254"},"html":{"href":"https://github.com/bustlelabs/mobiledoc-kit/pull/254"},"issue":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/254"},"comments":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/bustlelabs/mobiledoc-kit/statuses/3acefacb9c802ff685af6b21c91bbc1b3b11ac49"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":105,"deletions":13,"changed_files":9}}