{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222","id":148939197,"html_url":"https://github.com/aljosa/django-tinymce/pull/222","diff_url":"https://github.com/aljosa/django-tinymce/pull/222.diff","patch_url":"https://github.com/aljosa/django-tinymce/pull/222.patch","issue_url":"https://api.github.com/repos/aljosa/django-tinymce/issues/222","number":222,"state":"open","locked":false,"title":"Fix dropped attributes overriding widgets with TinyMCE widget","user":{"login":"bentrm","id":1186959,"avatar_url":"https://avatars3.githubusercontent.com/u/1186959?v=4","gravatar_id":"","url":"https://api.github.com/users/bentrm","html_url":"https://github.com/bentrm","followers_url":"https://api.github.com/users/bentrm/followers","following_url":"https://api.github.com/users/bentrm/following{/other_user}","gists_url":"https://api.github.com/users/bentrm/gists{/gist_id}","starred_url":"https://api.github.com/users/bentrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentrm/subscriptions","organizations_url":"https://api.github.com/users/bentrm/orgs","repos_url":"https://api.github.com/users/bentrm/repos","events_url":"https://api.github.com/users/bentrm/events{/privacy}","received_events_url":"https://api.github.com/users/bentrm/received_events","type":"User","site_admin":false},"body":"I'm using django-tinymce in tandem with django-modeltranslations and have been frustrated that translated fields would not be grouped into tabs. Turns out, that css class attributes that are added by modeltranslations are dropped on render of the TinyMCE widget. The reason is the usage of `Widget.build_attrs` in `TinyMCE.render`. Only extra attributes are build and used to render the widget.","created_at":"2017-10-26T13:45:37Z","updated_at":"2017-10-26T13:45:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222/commits","review_comments_url":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222/comments","review_comment_url":"https://api.github.com/repos/aljosa/django-tinymce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aljosa/django-tinymce/issues/222/comments","statuses_url":"https://api.github.com/repos/aljosa/django-tinymce/statuses/2173208532ea87c9adc84061601a820be8e97edd","head":{"label":"bentrm:build-attrs","ref":"build-attrs","sha":"2173208532ea87c9adc84061601a820be8e97edd","user":{"login":"bentrm","id":1186959,"avatar_url":"https://avatars3.githubusercontent.com/u/1186959?v=4","gravatar_id":"","url":"https://api.github.com/users/bentrm","html_url":"https://github.com/bentrm","followers_url":"https://api.github.com/users/bentrm/followers","following_url":"https://api.github.com/users/bentrm/following{/other_user}","gists_url":"https://api.github.com/users/bentrm/gists{/gist_id}","starred_url":"https://api.github.com/users/bentrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentrm/subscriptions","organizations_url":"https://api.github.com/users/bentrm/orgs","repos_url":"https://api.github.com/users/bentrm/repos","events_url":"https://api.github.com/users/bentrm/events{/privacy}","received_events_url":"https://api.github.com/users/bentrm/received_events","type":"User","site_admin":false},"repo":{"id":108414571,"name":"django-tinymce","full_name":"bentrm/django-tinymce","owner":{"login":"bentrm","id":1186959,"avatar_url":"https://avatars3.githubusercontent.com/u/1186959?v=4","gravatar_id":"","url":"https://api.github.com/users/bentrm","html_url":"https://github.com/bentrm","followers_url":"https://api.github.com/users/bentrm/followers","following_url":"https://api.github.com/users/bentrm/following{/other_user}","gists_url":"https://api.github.com/users/bentrm/gists{/gist_id}","starred_url":"https://api.github.com/users/bentrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentrm/subscriptions","organizations_url":"https://api.github.com/users/bentrm/orgs","repos_url":"https://api.github.com/users/bentrm/repos","events_url":"https://api.github.com/users/bentrm/events{/privacy}","received_events_url":"https://api.github.com/users/bentrm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bentrm/django-tinymce","description":"TinyMCE integration for Django","fork":true,"url":"https://api.github.com/repos/bentrm/django-tinymce","forks_url":"https://api.github.com/repos/bentrm/django-tinymce/forks","keys_url":"https://api.github.com/repos/bentrm/django-tinymce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bentrm/django-tinymce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bentrm/django-tinymce/teams","hooks_url":"https://api.github.com/repos/bentrm/django-tinymce/hooks","issue_events_url":"https://api.github.com/repos/bentrm/django-tinymce/issues/events{/number}","events_url":"https://api.github.com/repos/bentrm/django-tinymce/events","assignees_url":"https://api.github.com/repos/bentrm/django-tinymce/assignees{/user}","branches_url":"https://api.github.com/repos/bentrm/django-tinymce/branches{/branch}","tags_url":"https://api.github.com/repos/bentrm/django-tinymce/tags","blobs_url":"https://api.github.com/repos/bentrm/django-tinymce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bentrm/django-tinymce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bentrm/django-tinymce/git/refs{/sha}","trees_url":"https://api.github.com/repos/bentrm/django-tinymce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bentrm/django-tinymce/statuses/{sha}","languages_url":"https://api.github.com/repos/bentrm/django-tinymce/languages","stargazers_url":"https://api.github.com/repos/bentrm/django-tinymce/stargazers","contributors_url":"https://api.github.com/repos/bentrm/django-tinymce/contributors","subscribers_url":"https://api.github.com/repos/bentrm/django-tinymce/subscribers","subscription_url":"https://api.github.com/repos/bentrm/django-tinymce/subscription","commits_url":"https://api.github.com/repos/bentrm/django-tinymce/commits{/sha}","git_commits_url":"https://api.github.com/repos/bentrm/django-tinymce/git/commits{/sha}","comments_url":"https://api.github.com/repos/bentrm/django-tinymce/comments{/number}","issue_comment_url":"https://api.github.com/repos/bentrm/django-tinymce/issues/comments{/number}","contents_url":"https://api.github.com/repos/bentrm/django-tinymce/contents/{+path}","compare_url":"https://api.github.com/repos/bentrm/django-tinymce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bentrm/django-tinymce/merges","archive_url":"https://api.github.com/repos/bentrm/django-tinymce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bentrm/django-tinymce/downloads","issues_url":"https://api.github.com/repos/bentrm/django-tinymce/issues{/number}","pulls_url":"https://api.github.com/repos/bentrm/django-tinymce/pulls{/number}","milestones_url":"https://api.github.com/repos/bentrm/django-tinymce/milestones{/number}","notifications_url":"https://api.github.com/repos/bentrm/django-tinymce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bentrm/django-tinymce/labels{/name}","releases_url":"https://api.github.com/repos/bentrm/django-tinymce/releases{/id}","deployments_url":"https://api.github.com/repos/bentrm/django-tinymce/deployments","created_at":"2017-10-26T13:23:41Z","updated_at":"2017-10-26T13:23:43Z","pushed_at":"2017-10-26T13:41:18Z","git_url":"git://github.com/bentrm/django-tinymce.git","ssh_url":"git@github.com:bentrm/django-tinymce.git","clone_url":"https://github.com/bentrm/django-tinymce.git","svn_url":"https://github.com/bentrm/django-tinymce","homepage":"http://django-tinymce.readthedocs.org/","size":7225,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aljosa:master","ref":"master","sha":"8a1790e32091d604493a6419976e5d9d2e586cb8","user":{"login":"aljosa","id":31008,"avatar_url":"https://avatars0.githubusercontent.com/u/31008?v=4","gravatar_id":"","url":"https://api.github.com/users/aljosa","html_url":"https://github.com/aljosa","followers_url":"https://api.github.com/users/aljosa/followers","following_url":"https://api.github.com/users/aljosa/following{/other_user}","gists_url":"https://api.github.com/users/aljosa/gists{/gist_id}","starred_url":"https://api.github.com/users/aljosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aljosa/subscriptions","organizations_url":"https://api.github.com/users/aljosa/orgs","repos_url":"https://api.github.com/users/aljosa/repos","events_url":"https://api.github.com/users/aljosa/events{/privacy}","received_events_url":"https://api.github.com/users/aljosa/received_events","type":"User","site_admin":false},"repo":{"id":907262,"name":"django-tinymce","full_name":"aljosa/django-tinymce","owner":{"login":"aljosa","id":31008,"avatar_url":"https://avatars0.githubusercontent.com/u/31008?v=4","gravatar_id":"","url":"https://api.github.com/users/aljosa","html_url":"https://github.com/aljosa","followers_url":"https://api.github.com/users/aljosa/followers","following_url":"https://api.github.com/users/aljosa/following{/other_user}","gists_url":"https://api.github.com/users/aljosa/gists{/gist_id}","starred_url":"https://api.github.com/users/aljosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aljosa/subscriptions","organizations_url":"https://api.github.com/users/aljosa/orgs","repos_url":"https://api.github.com/users/aljosa/repos","events_url":"https://api.github.com/users/aljosa/events{/privacy}","received_events_url":"https://api.github.com/users/aljosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aljosa/django-tinymce","description":"TinyMCE integration for Django","fork":false,"url":"https://api.github.com/repos/aljosa/django-tinymce","forks_url":"https://api.github.com/repos/aljosa/django-tinymce/forks","keys_url":"https://api.github.com/repos/aljosa/django-tinymce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aljosa/django-tinymce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aljosa/django-tinymce/teams","hooks_url":"https://api.github.com/repos/aljosa/django-tinymce/hooks","issue_events_url":"https://api.github.com/repos/aljosa/django-tinymce/issues/events{/number}","events_url":"https://api.github.com/repos/aljosa/django-tinymce/events","assignees_url":"https://api.github.com/repos/aljosa/django-tinymce/assignees{/user}","branches_url":"https://api.github.com/repos/aljosa/django-tinymce/branches{/branch}","tags_url":"https://api.github.com/repos/aljosa/django-tinymce/tags","blobs_url":"https://api.github.com/repos/aljosa/django-tinymce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aljosa/django-tinymce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aljosa/django-tinymce/git/refs{/sha}","trees_url":"https://api.github.com/repos/aljosa/django-tinymce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aljosa/django-tinymce/statuses/{sha}","languages_url":"https://api.github.com/repos/aljosa/django-tinymce/languages","stargazers_url":"https://api.github.com/repos/aljosa/django-tinymce/stargazers","contributors_url":"https://api.github.com/repos/aljosa/django-tinymce/contributors","subscribers_url":"https://api.github.com/repos/aljosa/django-tinymce/subscribers","subscription_url":"https://api.github.com/repos/aljosa/django-tinymce/subscription","commits_url":"https://api.github.com/repos/aljosa/django-tinymce/commits{/sha}","git_commits_url":"https://api.github.com/repos/aljosa/django-tinymce/git/commits{/sha}","comments_url":"https://api.github.com/repos/aljosa/django-tinymce/comments{/number}","issue_comment_url":"https://api.github.com/repos/aljosa/django-tinymce/issues/comments{/number}","contents_url":"https://api.github.com/repos/aljosa/django-tinymce/contents/{+path}","compare_url":"https://api.github.com/repos/aljosa/django-tinymce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aljosa/django-tinymce/merges","archive_url":"https://api.github.com/repos/aljosa/django-tinymce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aljosa/django-tinymce/downloads","issues_url":"https://api.github.com/repos/aljosa/django-tinymce/issues{/number}","pulls_url":"https://api.github.com/repos/aljosa/django-tinymce/pulls{/number}","milestones_url":"https://api.github.com/repos/aljosa/django-tinymce/milestones{/number}","notifications_url":"https://api.github.com/repos/aljosa/django-tinymce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aljosa/django-tinymce/labels{/name}","releases_url":"https://api.github.com/repos/aljosa/django-tinymce/releases{/id}","deployments_url":"https://api.github.com/repos/aljosa/django-tinymce/deployments","created_at":"2010-09-13T14:10:29Z","updated_at":"2017-10-22T10:56:37Z","pushed_at":"2017-08-08T12:11:11Z","git_url":"git://github.com/aljosa/django-tinymce.git","ssh_url":"git@github.com:aljosa/django-tinymce.git","clone_url":"https://github.com/aljosa/django-tinymce.git","svn_url":"https://github.com/aljosa/django-tinymce","homepage":"http://django-tinymce.readthedocs.org/","size":7225,"stargazers_count":650,"watchers_count":650,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":235,"mirror_url":null,"archived":false,"open_issues_count":32,"forks":235,"open_issues":32,"watchers":650,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222"},"html":{"href":"https://github.com/aljosa/django-tinymce/pull/222"},"issue":{"href":"https://api.github.com/repos/aljosa/django-tinymce/issues/222"},"comments":{"href":"https://api.github.com/repos/aljosa/django-tinymce/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/aljosa/django-tinymce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aljosa/django-tinymce/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/aljosa/django-tinymce/statuses/2173208532ea87c9adc84061601a820be8e97edd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"bentrm"}}