{"action":"created","comment":{"url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments/82929268","pull_request_review_id":3801786,"id":82929268,"diff_hunk":"@@ -478,6 +478,28 @@ function fixContainer ( container, root ) {\n                  wrapper = createElement( doc,\n                     config.blockTag, config.blockAttributes );\n             }\n+            // Replace the align attribute in IMG tag by style\n+            if ( child.nodeName === 'IMG' ) {\n+                var dir, defaultAlignment, alignment;\n+\n+                dir = doc.dir.toLowerCase();\n+                defaultAlignment = dir === 'rtl' ? 'right' : 'left';\n+                if ( child.align ) {\n+                    alignment = child.align;\n+                    child.removeAttribute( 'align' );\n+                } else {\n+                    alignment = defaultAlignment;\n+                }\n+                \n+                wrapper.className = ( wrapper.className","path":"build/squire-raw.js","position":17,"original_position":17,"commit_id":"cd8a8ae9b5c33a07c34cca941f647dc4ec29ae7f","original_commit_id":"cd8a8ae9b5c33a07c34cca941f647dc4ec29ae7f","user":{"login":"akauffmanGG","id":11547798,"avatar_url":"https://avatars.githubusercontent.com/u/11547798?v=3","gravatar_id":"","url":"https://api.github.com/users/akauffmanGG","html_url":"https://github.com/akauffmanGG","followers_url":"https://api.github.com/users/akauffmanGG/followers","following_url":"https://api.github.com/users/akauffmanGG/following{/other_user}","gists_url":"https://api.github.com/users/akauffmanGG/gists{/gist_id}","starred_url":"https://api.github.com/users/akauffmanGG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akauffmanGG/subscriptions","organizations_url":"https://api.github.com/users/akauffmanGG/orgs","repos_url":"https://api.github.com/users/akauffmanGG/repos","events_url":"https://api.github.com/users/akauffmanGG/events{/privacy}","received_events_url":"https://api.github.com/users/akauffmanGG/received_events","type":"User","site_admin":false},"body":"Use the _addAlignClassName function here","created_at":"2016-10-12T03:01:28Z","updated_at":"2016-10-12T03:09:39Z","html_url":"https://github.com/InteractiveIntelligence/Squire/pull/78#discussion_r82929268","pull_request_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments/82929268"},"html":{"href":"https://github.com/InteractiveIntelligence/Squire/pull/78#discussion_r82929268"},"pull_request":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78","id":88944442,"html_url":"https://github.com/InteractiveIntelligence/Squire/pull/78","diff_url":"https://github.com/InteractiveIntelligence/Squire/pull/78.diff","patch_url":"https://github.com/InteractiveIntelligence/Squire/pull/78.patch","issue_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/78","number":78,"state":"open","locked":false,"title":"Replace align attribute for P and IMG elements","user":{"login":"ruiliuinin","id":15265471,"avatar_url":"https://avatars.githubusercontent.com/u/15265471?v=3","gravatar_id":"","url":"https://api.github.com/users/ruiliuinin","html_url":"https://github.com/ruiliuinin","followers_url":"https://api.github.com/users/ruiliuinin/followers","following_url":"https://api.github.com/users/ruiliuinin/following{/other_user}","gists_url":"https://api.github.com/users/ruiliuinin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruiliuinin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruiliuinin/subscriptions","organizations_url":"https://api.github.com/users/ruiliuinin/orgs","repos_url":"https://api.github.com/users/ruiliuinin/repos","events_url":"https://api.github.com/users/ruiliuinin/events{/privacy}","received_events_url":"https://api.github.com/users/ruiliuinin/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-10-12T02:39:56Z","updated_at":"2016-10-12T03:09:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ce9c21e08736dd87bb304479e17d7181348ddbc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78/commits","review_comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78/comments","review_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/78/comments","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/cd8a8ae9b5c33a07c34cca941f647dc4ec29ae7f","head":{"label":"InteractiveIntelligence:align-for-P-and-IMG","ref":"align-for-P-and-IMG","sha":"cd8a8ae9b5c33a07c34cca941f647dc4ec29ae7f","user":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":33547720,"name":"Squire","full_name":"InteractiveIntelligence/Squire","owner":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InteractiveIntelligence/Squire","description":"HTML5 rich text editor. Try the demo integration at","fork":true,"url":"https://api.github.com/repos/InteractiveIntelligence/Squire","forks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/forks","keys_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/teams","hooks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/hooks","issue_events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/events{/number}","events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/events","assignees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/assignees{/user}","branches_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/branches{/branch}","tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/tags","blobs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/refs{/sha}","trees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/{sha}","languages_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/languages","stargazers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/stargazers","contributors_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contributors","subscribers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscribers","subscription_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscription","commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/commits{/sha}","git_commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/commits{/sha}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/comments{/number}","issue_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/comments{/number}","contents_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contents/{+path}","compare_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/merges","archive_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/downloads","issues_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues{/number}","pulls_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls{/number}","milestones_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/milestones{/number}","notifications_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/labels{/name}","releases_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/releases{/id}","deployments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/deployments","created_at":"2015-04-07T14:21:21Z","updated_at":"2016-07-12T14:47:59Z","pushed_at":"2016-10-12T02:39:56Z","git_url":"git://github.com/InteractiveIntelligence/Squire.git","ssh_url":"git@github.com:InteractiveIntelligence/Squire.git","clone_url":"https://github.com/InteractiveIntelligence/Squire.git","svn_url":"https://github.com/InteractiveIntelligence/Squire","homepage":"http://neilj.github.io/Squire/","size":3025,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"InteractiveIntelligence:inin-master","ref":"inin-master","sha":"bffa8ecc1d7b2ff69688c524ef4de2ed3f04be36","user":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":33547720,"name":"Squire","full_name":"InteractiveIntelligence/Squire","owner":{"login":"InteractiveIntelligence","id":5074124,"avatar_url":"https://avatars.githubusercontent.com/u/5074124?v=3","gravatar_id":"","url":"https://api.github.com/users/InteractiveIntelligence","html_url":"https://github.com/InteractiveIntelligence","followers_url":"https://api.github.com/users/InteractiveIntelligence/followers","following_url":"https://api.github.com/users/InteractiveIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/InteractiveIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/InteractiveIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InteractiveIntelligence/subscriptions","organizations_url":"https://api.github.com/users/InteractiveIntelligence/orgs","repos_url":"https://api.github.com/users/InteractiveIntelligence/repos","events_url":"https://api.github.com/users/InteractiveIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/InteractiveIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/InteractiveIntelligence/Squire","description":"HTML5 rich text editor. Try the demo integration at","fork":true,"url":"https://api.github.com/repos/InteractiveIntelligence/Squire","forks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/forks","keys_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/teams","hooks_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/hooks","issue_events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/events{/number}","events_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/events","assignees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/assignees{/user}","branches_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/branches{/branch}","tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/tags","blobs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/refs{/sha}","trees_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/{sha}","languages_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/languages","stargazers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/stargazers","contributors_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contributors","subscribers_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscribers","subscription_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/subscription","commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/commits{/sha}","git_commits_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/git/commits{/sha}","comments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/comments{/number}","issue_comment_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/comments{/number}","contents_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/contents/{+path}","compare_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/merges","archive_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/downloads","issues_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues{/number}","pulls_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls{/number}","milestones_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/milestones{/number}","notifications_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/labels{/name}","releases_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/releases{/id}","deployments_url":"https://api.github.com/repos/InteractiveIntelligence/Squire/deployments","created_at":"2015-04-07T14:21:21Z","updated_at":"2016-07-12T14:47:59Z","pushed_at":"2016-10-12T02:39:56Z","git_url":"git://github.com/InteractiveIntelligence/Squire.git","ssh_url":"git@github.com:InteractiveIntelligence/Squire.git","clone_url":"https://github.com/InteractiveIntelligence/Squire.git","svn_url":"https://github.com/InteractiveIntelligence/Squire","homepage":"http://neilj.github.io/Squire/","size":3025,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78"},"html":{"href":"https://github.com/InteractiveIntelligence/Squire/pull/78"},"issue":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/78"},"comments":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/InteractiveIntelligence/Squire/statuses/cd8a8ae9b5c33a07c34cca941f647dc4ec29ae7f"}}}}
{"actor":{"display_login":"akauffmanGG"}}