{"action":"created","issue":{"url":"https://api.github.com/repos/bernat/best_in_place/issues/452","labels_url":"https://api.github.com/repos/bernat/best_in_place/issues/452/labels{/name}","comments_url":"https://api.github.com/repos/bernat/best_in_place/issues/452/comments","events_url":"https://api.github.com/repos/bernat/best_in_place/issues/452/events","html_url":"https://github.com/bernat/best_in_place/issues/452","id":58576328,"number":452,"title":"wysihtml5 integration possible?","user":{"login":"dgilperez","id":264590,"avatar_url":"https://avatars.githubusercontent.com/u/264590?v=3","gravatar_id":"","url":"https://api.github.com/users/dgilperez","html_url":"https://github.com/dgilperez","followers_url":"https://api.github.com/users/dgilperez/followers","following_url":"https://api.github.com/users/dgilperez/following{/other_user}","gists_url":"https://api.github.com/users/dgilperez/gists{/gist_id}","starred_url":"https://api.github.com/users/dgilperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgilperez/subscriptions","organizations_url":"https://api.github.com/users/dgilperez/orgs","repos_url":"https://api.github.com/users/dgilperez/repos","events_url":"https://api.github.com/users/dgilperez/events{/privacy}","received_events_url":"https://api.github.com/users/dgilperez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T11:53:35Z","updated_at":"2015-02-23T13:04:36Z","closed_at":null,"body":"Hi! \r\n\r\nI'd like to know if it is possible to use best_in_place with Wyshtml5 editor. I'm using this rails-ready version: https://github.com/Nerian/bootstrap-wysihtml5-rails Has anyone got this working?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/bernat/best_in_place/issues/comments/75537417","html_url":"https://github.com/bernat/best_in_place/issues/452#issuecomment-75537417","issue_url":"https://api.github.com/repos/bernat/best_in_place/issues/452","id":75537417,"user":{"login":"dgilperez","id":264590,"avatar_url":"https://avatars.githubusercontent.com/u/264590?v=3","gravatar_id":"","url":"https://api.github.com/users/dgilperez","html_url":"https://github.com/dgilperez","followers_url":"https://api.github.com/users/dgilperez/followers","following_url":"https://api.github.com/users/dgilperez/following{/other_user}","gists_url":"https://api.github.com/users/dgilperez/gists{/gist_id}","starred_url":"https://api.github.com/users/dgilperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgilperez/subscriptions","organizations_url":"https://api.github.com/users/dgilperez/orgs","repos_url":"https://api.github.com/users/dgilperez/repos","events_url":"https://api.github.com/users/dgilperez/events{/privacy}","received_events_url":"https://api.github.com/users/dgilperez/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T13:04:36Z","updated_at":"2015-02-23T13:04:36Z","body":"I've been playing a while with this, and I almost got it working. The only culprit was that I got the ``inputBlurHandler`` called when it should not: as long as the ``wysihtml5`` works by hiding the textarea and showing an iframe with the actual controls and input, the textarea was detected as blurred, what in turn triggered an ``abort`` operation just after the field was activated.\r\n\r\nI solved this locally by adding an extra ``skip_blur`` option to the helper, acting as a flag to control the ``inputBlurHandler`` trigger in the js code. I'm not sure if this is the best approach or if you will accept a PR in this direction. I'd love to hear your thoughts."}}