{"action":"created","comment":{"url":"https://api.github.com/repos/codex-team/codex.editor/pulls/comments/99440319","pull_request_review_id":20122430,"id":99440319,"diff_hunk":"@@ -134,7 +150,15 @@ var header = (function(header) {\n                 h3: 'Заголовок H3',\n                 h4: 'Заголовок H4'\n             },\n-            selectTypeButton;\n+            block  = codex.editor.content.currentNode,\n+            headerBlock = block.querySelector('[contenteditable=\"true\"]'),\n+            selectTypeButton,\n+            anchor = codex.editor.draw.node('SPAN', [ 'ce_plugin_header--anchor_input' ], { contentEditable: true});\n+\n+        anchor.textContent = headerBlock.dataset.anchor;","path":"plugins/header/header.js","position":63,"original_position":63,"commit_id":"8750b5be86ed06f9f965b3d92c6f236a2f57e2b0","original_commit_id":"8750b5be86ed06f9f965b3d92c6f236a2f57e2b0","user":{"login":"neSpecc","id":3684889,"avatar_url":"https://avatars.githubusercontent.com/u/3684889?v=3","gravatar_id":"","url":"https://api.github.com/users/neSpecc","html_url":"https://github.com/neSpecc","followers_url":"https://api.github.com/users/neSpecc/followers","following_url":"https://api.github.com/users/neSpecc/following{/other_user}","gists_url":"https://api.github.com/users/neSpecc/gists{/gist_id}","starred_url":"https://api.github.com/users/neSpecc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neSpecc/subscriptions","organizations_url":"https://api.github.com/users/neSpecc/orgs","repos_url":"https://api.github.com/users/neSpecc/repos","events_url":"https://api.github.com/users/neSpecc/events{/privacy}","received_events_url":"https://api.github.com/users/neSpecc/received_events","type":"User","site_admin":false},"body":"undefined будет стоять по умолчанию?","created_at":"2017-02-03T23:02:14Z","updated_at":"2017-02-03T23:03:15Z","html_url":"https://github.com/codex-team/codex.editor/pull/150#discussion_r99440319","pull_request_url":"https://api.github.com/repos/codex-team/codex.editor/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/comments/99440319"},"html":{"href":"https://github.com/codex-team/codex.editor/pull/150#discussion_r99440319"},"pull_request":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/codex-team/codex.editor/pulls/150","id":104619128,"html_url":"https://github.com/codex-team/codex.editor/pull/150","diff_url":"https://github.com/codex-team/codex.editor/pull/150.diff","patch_url":"https://github.com/codex-team/codex.editor/pull/150.patch","issue_url":"https://api.github.com/repos/codex-team/codex.editor/issues/150","number":150,"state":"open","locked":false,"title":"anchors added","user":{"login":"gohabereg","id":23050529,"avatar_url":"https://avatars.githubusercontent.com/u/23050529?v=3","gravatar_id":"","url":"https://api.github.com/users/gohabereg","html_url":"https://github.com/gohabereg","followers_url":"https://api.github.com/users/gohabereg/followers","following_url":"https://api.github.com/users/gohabereg/following{/other_user}","gists_url":"https://api.github.com/users/gohabereg/gists{/gist_id}","starred_url":"https://api.github.com/users/gohabereg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gohabereg/subscriptions","organizations_url":"https://api.github.com/users/gohabereg/orgs","repos_url":"https://api.github.com/users/gohabereg/repos","events_url":"https://api.github.com/users/gohabereg/events{/privacy}","received_events_url":"https://api.github.com/users/gohabereg/received_events","type":"User","site_admin":false},"body":null,"created_at":"2017-02-03T21:55:38Z","updated_at":"2017-02-03T23:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bb6174a806494941646271d3264751bb7a82439","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/codex-team/codex.editor/pulls/150/commits","review_comments_url":"https://api.github.com/repos/codex-team/codex.editor/pulls/150/comments","review_comment_url":"https://api.github.com/repos/codex-team/codex.editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-team/codex.editor/issues/150/comments","statuses_url":"https://api.github.com/repos/codex-team/codex.editor/statuses/8750b5be86ed06f9f965b3d92c6f236a2f57e2b0","head":{"label":"codex-team:headers-anchors","ref":"headers-anchors","sha":"8750b5be86ed06f9f965b3d92c6f236a2f57e2b0","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":47039255,"name":"codex.editor","full_name":"codex-team/codex.editor","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.editor","description":"CodeX Editor sources","fork":false,"url":"https://api.github.com/repos/codex-team/codex.editor","forks_url":"https://api.github.com/repos/codex-team/codex.editor/forks","keys_url":"https://api.github.com/repos/codex-team/codex.editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.editor/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.editor/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.editor/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.editor/events","assignees_url":"https://api.github.com/repos/codex-team/codex.editor/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.editor/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.editor/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.editor/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.editor/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.editor/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.editor/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.editor/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.editor/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.editor/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.editor/merges","archive_url":"https://api.github.com/repos/codex-team/codex.editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.editor/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.editor/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.editor/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.editor/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.editor/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.editor/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/codex.editor/deployments","created_at":"2015-11-28T20:56:35Z","updated_at":"2016-12-23T13:30:01Z","pushed_at":"2017-02-03T22:45:07Z","git_url":"git://github.com/codex-team/codex.editor.git","ssh_url":"git@github.com:codex-team/codex.editor.git","clone_url":"https://github.com/codex-team/codex.editor.git","svn_url":"https://github.com/codex-team/codex.editor","homepage":null,"size":1682,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"codex-team:master","ref":"master","sha":"8f9844ff830acb699c27a062863651d1bf6dd3b4","user":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"repo":{"id":47039255,"name":"codex.editor","full_name":"codex-team/codex.editor","owner":{"login":"codex-team","id":16060815,"avatar_url":"https://avatars.githubusercontent.com/u/16060815?v=3","gravatar_id":"","url":"https://api.github.com/users/codex-team","html_url":"https://github.com/codex-team","followers_url":"https://api.github.com/users/codex-team/followers","following_url":"https://api.github.com/users/codex-team/following{/other_user}","gists_url":"https://api.github.com/users/codex-team/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-team/subscriptions","organizations_url":"https://api.github.com/users/codex-team/orgs","repos_url":"https://api.github.com/users/codex-team/repos","events_url":"https://api.github.com/users/codex-team/events{/privacy}","received_events_url":"https://api.github.com/users/codex-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-team/codex.editor","description":"CodeX Editor sources","fork":false,"url":"https://api.github.com/repos/codex-team/codex.editor","forks_url":"https://api.github.com/repos/codex-team/codex.editor/forks","keys_url":"https://api.github.com/repos/codex-team/codex.editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-team/codex.editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-team/codex.editor/teams","hooks_url":"https://api.github.com/repos/codex-team/codex.editor/hooks","issue_events_url":"https://api.github.com/repos/codex-team/codex.editor/issues/events{/number}","events_url":"https://api.github.com/repos/codex-team/codex.editor/events","assignees_url":"https://api.github.com/repos/codex-team/codex.editor/assignees{/user}","branches_url":"https://api.github.com/repos/codex-team/codex.editor/branches{/branch}","tags_url":"https://api.github.com/repos/codex-team/codex.editor/tags","blobs_url":"https://api.github.com/repos/codex-team/codex.editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-team/codex.editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-team/codex.editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-team/codex.editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-team/codex.editor/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-team/codex.editor/languages","stargazers_url":"https://api.github.com/repos/codex-team/codex.editor/stargazers","contributors_url":"https://api.github.com/repos/codex-team/codex.editor/contributors","subscribers_url":"https://api.github.com/repos/codex-team/codex.editor/subscribers","subscription_url":"https://api.github.com/repos/codex-team/codex.editor/subscription","commits_url":"https://api.github.com/repos/codex-team/codex.editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-team/codex.editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-team/codex.editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-team/codex.editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-team/codex.editor/contents/{+path}","compare_url":"https://api.github.com/repos/codex-team/codex.editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-team/codex.editor/merges","archive_url":"https://api.github.com/repos/codex-team/codex.editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-team/codex.editor/downloads","issues_url":"https://api.github.com/repos/codex-team/codex.editor/issues{/number}","pulls_url":"https://api.github.com/repos/codex-team/codex.editor/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-team/codex.editor/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-team/codex.editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-team/codex.editor/labels{/name}","releases_url":"https://api.github.com/repos/codex-team/codex.editor/releases{/id}","deployments_url":"https://api.github.com/repos/codex-team/codex.editor/deployments","created_at":"2015-11-28T20:56:35Z","updated_at":"2016-12-23T13:30:01Z","pushed_at":"2017-02-03T22:45:07Z","git_url":"git://github.com/codex-team/codex.editor.git","ssh_url":"git@github.com:codex-team/codex.editor.git","clone_url":"https://github.com/codex-team/codex.editor.git","svn_url":"https://github.com/codex-team/codex.editor","homepage":null,"size":1682,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/150"},"html":{"href":"https://github.com/codex-team/codex.editor/pull/150"},"issue":{"href":"https://api.github.com/repos/codex-team/codex.editor/issues/150"},"comments":{"href":"https://api.github.com/repos/codex-team/codex.editor/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-team/codex.editor/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/codex-team/codex.editor/statuses/8750b5be86ed06f9f965b3d92c6f236a2f57e2b0"}}}}
{"actor":{"display_login":"neSpecc"}}