{"action":"opened","number":1460,"pull_request":{"url":"https://api.github.com/repos/coralproject/talk/pulls/1460","id":176536480,"html_url":"https://github.com/coralproject/talk/pull/1460","diff_url":"https://github.com/coralproject/talk/pull/1460.diff","patch_url":"https://github.com/coralproject/talk/pull/1460.patch","issue_url":"https://api.github.com/repos/coralproject/talk/issues/1460","number":1460,"state":"open","locked":false,"title":"RTE rework","user":{"login":"cvle","id":14221600,"avatar_url":"https://avatars2.githubusercontent.com/u/14221600?v=4","gravatar_id":"","url":"https://api.github.com/users/cvle","html_url":"https://github.com/cvle","followers_url":"https://api.github.com/users/cvle/followers","following_url":"https://api.github.com/users/cvle/following{/other_user}","gists_url":"https://api.github.com/users/cvle/gists{/gist_id}","starred_url":"https://api.github.com/users/cvle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvle/subscriptions","organizations_url":"https://api.github.com/users/cvle/orgs","repos_url":"https://api.github.com/users/cvle/repos","events_url":"https://api.github.com/users/cvle/events{/privacy}","received_events_url":"https://api.github.com/users/cvle/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n- Include a default `client` side implementation with `Coral RTE`, which is just a simple RTE based on the `contenteditable` and `execCommand` api with support for formatting `bold`, `italic`, and `blockquote`.\r\n- Simplified `draftArea` API, now simply using `input` and `onInputChange`\r\n- `preSubmit` hooks now accept a `return value` as it's new input.\r\n- Refactored hook support into `withHooks`\r\n- Refactored and added hooks support to `EditableCommentContent`\r\n- Deprecated previous `comment input tags` api. Now simply using `input` and `onInputChange` works.\r\n\r\n## How do I test this PR?\r\n\r\n- Offtopic feature should remain intact\r\n- Post, Reply and edit comments using the RTE\r\n","created_at":"2018-03-21T16:33:06Z","updated_at":"2018-03-21T16:33:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coralproject/talk/pulls/1460/commits","review_comments_url":"https://api.github.com/repos/coralproject/talk/pulls/1460/comments","review_comment_url":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/talk/issues/1460/comments","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/ae4cc3ba202109a4e087ea318d75cd3ef5f2b113","head":{"label":"coralproject:rte-rework","ref":"rte-rework","sha":"ae4cc3ba202109a4e087ea318d75cd3ef5f2b113","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"name":"talk","full_name":"coralproject/talk","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Mozilla, The Washington Post, and The New York Times.","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2018-03-21T16:32:07Z","pushed_at":"2018-03-21T16:32:20Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":15818,"stargazers_count":851,"watchers_count":851,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":124,"open_issues":26,"watchers":851,"default_branch":"master"}},"base":{"label":"coralproject:master","ref":"master","sha":"c4aa2fc141a7f06df17dd62a213782f2aa244522","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"name":"talk","full_name":"coralproject/talk","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Mozilla, The Washington Post, and The New York Times.","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2018-03-21T16:32:07Z","pushed_at":"2018-03-21T16:32:20Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":15818,"stargazers_count":851,"watchers_count":851,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":124,"open_issues":26,"watchers":851,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/talk/pulls/1460"},"html":{"href":"https://github.com/coralproject/talk/pull/1460"},"issue":{"href":"https://api.github.com/repos/coralproject/talk/issues/1460"},"comments":{"href":"https://api.github.com/repos/coralproject/talk/issues/1460/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/talk/pulls/1460/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/talk/pulls/1460/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/talk/statuses/ae4cc3ba202109a4e087ea318d75cd3ef5f2b113"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":15,"additions":943,"deletions":412,"changed_files":37}}
{"actor":{"display_login":"cvle"}}