{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/29576016","id":29576016,"diff_hunk":"@@ -10,33 +10,41 @@\n         ng-trim=\"false\">\n \t<div ng-if=\"!_editable\">{{item.slugline}}</div>\n </div>\n+\n <div class=\"field\" ng-class=\"{'limit-error': item.headline.length > limits.headline}\">\n \t<label translate>Headline</label>\n     <span sd-character-count data-item=\"item.headline\" data-limit=\"limits.headline\"></span>\n-    <textarea class=\"headline\"\n-        id=\"title\"\n-        sd-auto-height\n+    <div id=\"title\" class=\"headline\"\n+        sd-text-editor\n+        data-config=\"{disableToolbar: true, disableReturn: true}\"\n         ng-model=\"item.headline\"\n         ng-change=\"autosave(item)\"\n         ng-if=\"_editable\"\n-        ng-trim=\"false\"></textarea>\n-\t<div class=\"headline\" ng-if=\"!_editable\">{{item.headline}}</div>\n+        ng-trim=\"false\"></div>\n+\t<div class=\"headlbine\" ng-if=\"!_editable\">{{item.headline}}</div>","path":"client/app/scripts/superdesk-authoring/views/article-edit.html","position":null,"original_position":20,"commit_id":"c5a78e7f8ca42d0be73707ab61080d5ede8bd725","original_commit_id":"b8df9f80dc38c4e59c6b89bf4bafdd71d90bf021","user":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"body":"right thx","created_at":"2015-05-04T10:16:05Z","updated_at":"2015-05-04T10:16:05Z","html_url":"https://github.com/superdesk/superdesk/pull/504#discussion_r29576016","pull_request_url":"https://api.github.com/repos/superdesk/superdesk/pulls/504","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/29576016"},"html":{"href":"https://github.com/superdesk/superdesk/pull/504#discussion_r29576016"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/504"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/504","id":34620808,"html_url":"https://github.com/superdesk/superdesk/pull/504","diff_url":"https://github.com/superdesk/superdesk/pull/504.diff","patch_url":"https://github.com/superdesk/superdesk/pull/504.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk/issues/504","number":504,"state":"open","locked":false,"title":"feat(spellcheck): spellcheck headline/abstract","user":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"body":"switch those fields to use sd-text-editor directive with spellchecker","created_at":"2015-05-04T08:01:43Z","updated_at":"2015-05-04T10:16:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13485d789a787bdc5b8227f5203e2afd73ed36de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk/pulls/504/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk/pulls/504/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk/issues/504/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/c5a78e7f8ca42d0be73707ab61080d5ede8bd725","head":{"label":"petrjasek:feat-spellcheck-headline","ref":"feat-spellcheck-headline","sha":"c5a78e7f8ca42d0be73707ab61080d5ede8bd725","user":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"repo":{"id":23593594,"name":"superdesk","full_name":"petrjasek/superdesk","owner":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petrjasek/superdesk","description":"","fork":true,"url":"https://api.github.com/repos/petrjasek/superdesk","forks_url":"https://api.github.com/repos/petrjasek/superdesk/forks","keys_url":"https://api.github.com/repos/petrjasek/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petrjasek/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petrjasek/superdesk/teams","hooks_url":"https://api.github.com/repos/petrjasek/superdesk/hooks","issue_events_url":"https://api.github.com/repos/petrjasek/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/petrjasek/superdesk/events","assignees_url":"https://api.github.com/repos/petrjasek/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/petrjasek/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/petrjasek/superdesk/tags","blobs_url":"https://api.github.com/repos/petrjasek/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petrjasek/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petrjasek/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/petrjasek/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petrjasek/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/petrjasek/superdesk/languages","stargazers_url":"https://api.github.com/repos/petrjasek/superdesk/stargazers","contributors_url":"https://api.github.com/repos/petrjasek/superdesk/contributors","subscribers_url":"https://api.github.com/repos/petrjasek/superdesk/subscribers","subscription_url":"https://api.github.com/repos/petrjasek/superdesk/subscription","commits_url":"https://api.github.com/repos/petrjasek/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/petrjasek/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/petrjasek/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/petrjasek/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/petrjasek/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/petrjasek/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petrjasek/superdesk/merges","archive_url":"https://api.github.com/repos/petrjasek/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petrjasek/superdesk/downloads","issues_url":"https://api.github.com/repos/petrjasek/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/petrjasek/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/petrjasek/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/petrjasek/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petrjasek/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/petrjasek/superdesk/releases{/id}","created_at":"2014-09-02T20:00:13Z","updated_at":"2015-04-29T08:20:10Z","pushed_at":"2015-05-04T10:16:00Z","git_url":"git://github.com/petrjasek/superdesk.git","ssh_url":"git@github.com:petrjasek/superdesk.git","clone_url":"https://github.com/petrjasek/superdesk.git","svn_url":"https://github.com/petrjasek/superdesk","homepage":null,"size":51093,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"superdesk:master","ref":"master","sha":"e5b325864df9dd7625ca796ebf7e406c9ff113da","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":23570030,"name":"superdesk","full_name":"superdesk/superdesk","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk","description":"The open source end-to-end news platform.","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk","forks_url":"https://api.github.com/repos/superdesk/superdesk/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk/releases{/id}","created_at":"2014-09-02T07:56:17Z","updated_at":"2015-05-01T07:02:45Z","pushed_at":"2015-05-04T10:16:00Z","git_url":"git://github.com/superdesk/superdesk.git","ssh_url":"git@github.com:superdesk/superdesk.git","clone_url":"https://github.com/superdesk/superdesk.git","svn_url":"https://github.com/superdesk/superdesk","homepage":"","size":60240,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":9,"forks":26,"open_issues":9,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/504"},"html":{"href":"https://github.com/superdesk/superdesk/pull/504"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/504"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk/statuses/c5a78e7f8ca42d0be73707ab61080d5ede8bd725"}}}}