{"action":"closed","issue":{"url":"https://api.github.com/repos/douglasmiranda/django-wysiwyg-redactor/issues/18","labels_url":"https://api.github.com/repos/douglasmiranda/django-wysiwyg-redactor/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/douglasmiranda/django-wysiwyg-redactor/issues/18/comments","events_url":"https://api.github.com/repos/douglasmiranda/django-wysiwyg-redactor/issues/18/events","html_url":"https://github.com/douglasmiranda/django-wysiwyg-redactor/issues/18","id":21305801,"number":18,"title":"Doesn't work with inlines","user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/douglasmiranda/django-wysiwyg-redactor/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-10-21T10:07:19Z","updated_at":"2015-05-01T23:22:58Z","closed_at":"2015-05-01T23:22:58Z","body":"I had to add this:\r\n\r\n```\r\n+            $(document).bind('DOMNodeInserted', function(e) {\r\n+                $(e.target).find('.redactor_box textarea').redactor(\r\n+                    {\"lang\": \"en\", \"fileUpload\": \"/redactor/upload/file/\", \r\n+                    \"focus\": \"false\", \"imageUpload\": \"/redactor/upload/image/\"});\r\n+            });\r\n```\r\n\r\nOf course, it's hard coded, a better solution should be implemented. I think that inline <script> doesn't work well with inlines, and DOMNodeInserted should be monitored anyway."}}