{"action":"created","comment":{"url":"https://api.github.com/repos/codex-editor/raw/pulls/comments/208113939","pull_request_review_id":143856706,"id":208113939,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODExMzkzOQ==","diff_hunk":"@@ -0,0 +1,112 @@\n+/**\n+ * Build styles\n+ */\n+require('./index.css').toString();\n+\n+/**\n+ * Raw Plugin for the CodeX Editor.\n+ *\n+ * @author CodeX (team@ifmo.su)\n+ * @copyright CodeX 2018\n+ * @license The MIT License (MIT)\n+ * @version 2.0.0\n+ */\n+\n+class RawTool {\n+    /**\n+     * Should this tool be displayed at the Editor's Toolbox\n+     * @returns {boolean}\n+     * @public\n+     */\n+    static get displayInToolbox() {\n+        return true;\n+    }\n+\n+    /**\n+     * Render plugin`s main Element and fill it with saved data\n+     *\n+     * @param {{data: RawData, config: object, api: object}}\n+     *   data — previously saved data\n+     *   config - user config for Tool\n+     *   api - CodeX Editor API\n+     */\n+    constructor({data, config, api}) {\n+        this.api = api;\n+\n+        this.rawToolPlaceholder = config.rawToolPlaceholder || RawTool.DEFAULT_RAWTOOL_PLACEHOLDER;\n+\n+        this.CSS = {\n+            block: this.api.styles.block,\n+            input: this.api.styles.input,\n+            wrapper: 'ce-textearea'\n+        };\n+\n+        this.data = {\n+            html: data.html || ''\n+        };\n+\n+        this.element = this.drawView();","path":"src/index.js","position":48,"original_position":48,"commit_id":"2f14a344a0217a17703ad4d05055c18d7ae27432","original_commit_id":"2f14a344a0217a17703ad4d05055c18d7ae27432","user":{"login":"neSpecc","id":3684889,"node_id":"MDQ6VXNlcjM2ODQ4ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/3684889?v=4","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":"какой элемент? у тебя путаница в верстке","created_at":"2018-08-07T06:39:39Z","updated_at":"2018-08-07T06:42:38Z","html_url":"https://github.com/codex-editor/raw/pull/2#discussion_r208113939","pull_request_url":"https://api.github.com/repos/codex-editor/raw/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/comments/208113939"},"html":{"href":"https://github.com/codex-editor/raw/pull/2#discussion_r208113939"},"pull_request":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/codex-editor/raw/pulls/2","id":206249723,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjQ5NzIz","html_url":"https://github.com/codex-editor/raw/pull/2","diff_url":"https://github.com/codex-editor/raw/pull/2.diff","patch_url":"https://github.com/codex-editor/raw/pull/2.patch","issue_url":"https://api.github.com/repos/codex-editor/raw/issues/2","number":2,"state":"open","locked":false,"title":"CodeX Editor Raw Tool version 2.0.1","user":{"login":"PolinaShneider","id":15448200,"node_id":"MDQ6VXNlcjE1NDQ4MjAw","avatar_url":"https://avatars3.githubusercontent.com/u/15448200?v=4","gravatar_id":"","url":"https://api.github.com/users/PolinaShneider","html_url":"https://github.com/PolinaShneider","followers_url":"https://api.github.com/users/PolinaShneider/followers","following_url":"https://api.github.com/users/PolinaShneider/following{/other_user}","gists_url":"https://api.github.com/users/PolinaShneider/gists{/gist_id}","starred_url":"https://api.github.com/users/PolinaShneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolinaShneider/subscriptions","organizations_url":"https://api.github.com/users/PolinaShneider/orgs","repos_url":"https://api.github.com/users/PolinaShneider/repos","events_url":"https://api.github.com/users/PolinaShneider/events{/privacy}","received_events_url":"https://api.github.com/users/PolinaShneider/received_events","type":"User","site_admin":false},"body":"Resolves #401","created_at":"2018-08-05T17:40:09Z","updated_at":"2018-08-07T06:42:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49d57c646240c76b836f96ef2f77e8718a684793","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codex-editor/raw/pulls/2/commits","review_comments_url":"https://api.github.com/repos/codex-editor/raw/pulls/2/comments","review_comment_url":"https://api.github.com/repos/codex-editor/raw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codex-editor/raw/issues/2/comments","statuses_url":"https://api.github.com/repos/codex-editor/raw/statuses/2f14a344a0217a17703ad4d05055c18d7ae27432","head":{"label":"codex-editor:version-2-0-1","ref":"version-2-0-1","sha":"2f14a344a0217a17703ad4d05055c18d7ae27432","user":{"login":"codex-editor","id":27892231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODkyMjMx","avatar_url":"https://avatars1.githubusercontent.com/u/27892231?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-editor","html_url":"https://github.com/codex-editor","followers_url":"https://api.github.com/users/codex-editor/followers","following_url":"https://api.github.com/users/codex-editor/following{/other_user}","gists_url":"https://api.github.com/users/codex-editor/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-editor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-editor/subscriptions","organizations_url":"https://api.github.com/users/codex-editor/orgs","repos_url":"https://api.github.com/users/codex-editor/repos","events_url":"https://api.github.com/users/codex-editor/events{/privacy}","received_events_url":"https://api.github.com/users/codex-editor/received_events","type":"Organization","site_admin":false},"repo":{"id":102160658,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIxNjA2NTg=","name":"raw","full_name":"codex-editor/raw","owner":{"login":"codex-editor","id":27892231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODkyMjMx","avatar_url":"https://avatars1.githubusercontent.com/u/27892231?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-editor","html_url":"https://github.com/codex-editor","followers_url":"https://api.github.com/users/codex-editor/followers","following_url":"https://api.github.com/users/codex-editor/following{/other_user}","gists_url":"https://api.github.com/users/codex-editor/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-editor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-editor/subscriptions","organizations_url":"https://api.github.com/users/codex-editor/orgs","repos_url":"https://api.github.com/users/codex-editor/repos","events_url":"https://api.github.com/users/codex-editor/events{/privacy}","received_events_url":"https://api.github.com/users/codex-editor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-editor/raw","description":"RAW Tool for CodeX Editor 1.0","fork":false,"url":"https://api.github.com/repos/codex-editor/raw","forks_url":"https://api.github.com/repos/codex-editor/raw/forks","keys_url":"https://api.github.com/repos/codex-editor/raw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-editor/raw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-editor/raw/teams","hooks_url":"https://api.github.com/repos/codex-editor/raw/hooks","issue_events_url":"https://api.github.com/repos/codex-editor/raw/issues/events{/number}","events_url":"https://api.github.com/repos/codex-editor/raw/events","assignees_url":"https://api.github.com/repos/codex-editor/raw/assignees{/user}","branches_url":"https://api.github.com/repos/codex-editor/raw/branches{/branch}","tags_url":"https://api.github.com/repos/codex-editor/raw/tags","blobs_url":"https://api.github.com/repos/codex-editor/raw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-editor/raw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-editor/raw/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-editor/raw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-editor/raw/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-editor/raw/languages","stargazers_url":"https://api.github.com/repos/codex-editor/raw/stargazers","contributors_url":"https://api.github.com/repos/codex-editor/raw/contributors","subscribers_url":"https://api.github.com/repos/codex-editor/raw/subscribers","subscription_url":"https://api.github.com/repos/codex-editor/raw/subscription","commits_url":"https://api.github.com/repos/codex-editor/raw/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-editor/raw/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-editor/raw/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-editor/raw/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-editor/raw/contents/{+path}","compare_url":"https://api.github.com/repos/codex-editor/raw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-editor/raw/merges","archive_url":"https://api.github.com/repos/codex-editor/raw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-editor/raw/downloads","issues_url":"https://api.github.com/repos/codex-editor/raw/issues{/number}","pulls_url":"https://api.github.com/repos/codex-editor/raw/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-editor/raw/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-editor/raw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-editor/raw/labels{/name}","releases_url":"https://api.github.com/repos/codex-editor/raw/releases{/id}","deployments_url":"https://api.github.com/repos/codex-editor/raw/deployments","created_at":"2017-09-01T23:42:12Z","updated_at":"2018-08-03T11:32:44Z","pushed_at":"2018-08-06T20:23:36Z","git_url":"git://github.com/codex-editor/raw.git","ssh_url":"git@github.com:codex-editor/raw.git","clone_url":"https://github.com/codex-editor/raw.git","svn_url":"https://github.com/codex-editor/raw","homepage":"","size":72,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"codex-editor:master","ref":"master","sha":"084046d62562d3e05e44bdf6ae9e74142280cbd8","user":{"login":"codex-editor","id":27892231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODkyMjMx","avatar_url":"https://avatars1.githubusercontent.com/u/27892231?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-editor","html_url":"https://github.com/codex-editor","followers_url":"https://api.github.com/users/codex-editor/followers","following_url":"https://api.github.com/users/codex-editor/following{/other_user}","gists_url":"https://api.github.com/users/codex-editor/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-editor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-editor/subscriptions","organizations_url":"https://api.github.com/users/codex-editor/orgs","repos_url":"https://api.github.com/users/codex-editor/repos","events_url":"https://api.github.com/users/codex-editor/events{/privacy}","received_events_url":"https://api.github.com/users/codex-editor/received_events","type":"Organization","site_admin":false},"repo":{"id":102160658,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIxNjA2NTg=","name":"raw","full_name":"codex-editor/raw","owner":{"login":"codex-editor","id":27892231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODkyMjMx","avatar_url":"https://avatars1.githubusercontent.com/u/27892231?v=4","gravatar_id":"","url":"https://api.github.com/users/codex-editor","html_url":"https://github.com/codex-editor","followers_url":"https://api.github.com/users/codex-editor/followers","following_url":"https://api.github.com/users/codex-editor/following{/other_user}","gists_url":"https://api.github.com/users/codex-editor/gists{/gist_id}","starred_url":"https://api.github.com/users/codex-editor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codex-editor/subscriptions","organizations_url":"https://api.github.com/users/codex-editor/orgs","repos_url":"https://api.github.com/users/codex-editor/repos","events_url":"https://api.github.com/users/codex-editor/events{/privacy}","received_events_url":"https://api.github.com/users/codex-editor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codex-editor/raw","description":"RAW Tool for CodeX Editor 1.0","fork":false,"url":"https://api.github.com/repos/codex-editor/raw","forks_url":"https://api.github.com/repos/codex-editor/raw/forks","keys_url":"https://api.github.com/repos/codex-editor/raw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codex-editor/raw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codex-editor/raw/teams","hooks_url":"https://api.github.com/repos/codex-editor/raw/hooks","issue_events_url":"https://api.github.com/repos/codex-editor/raw/issues/events{/number}","events_url":"https://api.github.com/repos/codex-editor/raw/events","assignees_url":"https://api.github.com/repos/codex-editor/raw/assignees{/user}","branches_url":"https://api.github.com/repos/codex-editor/raw/branches{/branch}","tags_url":"https://api.github.com/repos/codex-editor/raw/tags","blobs_url":"https://api.github.com/repos/codex-editor/raw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codex-editor/raw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codex-editor/raw/git/refs{/sha}","trees_url":"https://api.github.com/repos/codex-editor/raw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codex-editor/raw/statuses/{sha}","languages_url":"https://api.github.com/repos/codex-editor/raw/languages","stargazers_url":"https://api.github.com/repos/codex-editor/raw/stargazers","contributors_url":"https://api.github.com/repos/codex-editor/raw/contributors","subscribers_url":"https://api.github.com/repos/codex-editor/raw/subscribers","subscription_url":"https://api.github.com/repos/codex-editor/raw/subscription","commits_url":"https://api.github.com/repos/codex-editor/raw/commits{/sha}","git_commits_url":"https://api.github.com/repos/codex-editor/raw/git/commits{/sha}","comments_url":"https://api.github.com/repos/codex-editor/raw/comments{/number}","issue_comment_url":"https://api.github.com/repos/codex-editor/raw/issues/comments{/number}","contents_url":"https://api.github.com/repos/codex-editor/raw/contents/{+path}","compare_url":"https://api.github.com/repos/codex-editor/raw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codex-editor/raw/merges","archive_url":"https://api.github.com/repos/codex-editor/raw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codex-editor/raw/downloads","issues_url":"https://api.github.com/repos/codex-editor/raw/issues{/number}","pulls_url":"https://api.github.com/repos/codex-editor/raw/pulls{/number}","milestones_url":"https://api.github.com/repos/codex-editor/raw/milestones{/number}","notifications_url":"https://api.github.com/repos/codex-editor/raw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codex-editor/raw/labels{/name}","releases_url":"https://api.github.com/repos/codex-editor/raw/releases{/id}","deployments_url":"https://api.github.com/repos/codex-editor/raw/deployments","created_at":"2017-09-01T23:42:12Z","updated_at":"2018-08-03T11:32:44Z","pushed_at":"2018-08-06T20:23:36Z","git_url":"git://github.com/codex-editor/raw.git","ssh_url":"git@github.com:codex-editor/raw.git","clone_url":"https://github.com/codex-editor/raw.git","svn_url":"https://github.com/codex-editor/raw","homepage":"","size":72,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/2"},"html":{"href":"https://github.com/codex-editor/raw/pull/2"},"issue":{"href":"https://api.github.com/repos/codex-editor/raw/issues/2"},"comments":{"href":"https://api.github.com/repos/codex-editor/raw/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codex-editor/raw/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/codex-editor/raw/statuses/2f14a344a0217a17703ad4d05055c18d7ae27432"}},"author_association":"NONE"}}
{"actor":{"display_login":"neSpecc"}}