{"action":"created","issue":{"url":"https://api.github.com/repos/summernote/angular-summernote/issues/54","repository_url":"https://api.github.com/repos/summernote/angular-summernote","labels_url":"https://api.github.com/repos/summernote/angular-summernote/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/summernote/angular-summernote/issues/54/comments","events_url":"https://api.github.com/repos/summernote/angular-summernote/issues/54/events","html_url":"https://github.com/summernote/angular-summernote/issues/54","id":75737108,"number":54,"title":"on blur to include toolbar","user":{"login":"alirezamansoori","id":7649484,"avatar_url":"https://avatars.githubusercontent.com/u/7649484?v=3","gravatar_id":"","url":"https://api.github.com/users/alirezamansoori","html_url":"https://github.com/alirezamansoori","followers_url":"https://api.github.com/users/alirezamansoori/followers","following_url":"https://api.github.com/users/alirezamansoori/following{/other_user}","gists_url":"https://api.github.com/users/alirezamansoori/gists{/gist_id}","starred_url":"https://api.github.com/users/alirezamansoori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alirezamansoori/subscriptions","organizations_url":"https://api.github.com/users/alirezamansoori/orgs","repos_url":"https://api.github.com/users/alirezamansoori/repos","events_url":"https://api.github.com/users/alirezamansoori/events{/privacy}","received_events_url":"https://api.github.com/users/alirezamansoori/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-05-12T21:02:03Z","updated_at":"2016-06-28T20:52:27Z","closed_at":"2015-05-14T04:46:32Z","body":"currently onblur gets called if toolbar is clicked. Is it possible to keep from calling onblur when toolbar is clicked?"},"comment":{"url":"https://api.github.com/repos/summernote/angular-summernote/issues/comments/229179572","html_url":"https://github.com/summernote/angular-summernote/issues/54#issuecomment-229179572","issue_url":"https://api.github.com/repos/summernote/angular-summernote/issues/54","id":229179572,"user":{"login":"alirezamansoori","id":7649484,"avatar_url":"https://avatars.githubusercontent.com/u/7649484?v=3","gravatar_id":"","url":"https://api.github.com/users/alirezamansoori","html_url":"https://github.com/alirezamansoori","followers_url":"https://api.github.com/users/alirezamansoori/followers","following_url":"https://api.github.com/users/alirezamansoori/following{/other_user}","gists_url":"https://api.github.com/users/alirezamansoori/gists{/gist_id}","starred_url":"https://api.github.com/users/alirezamansoori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alirezamansoori/subscriptions","organizations_url":"https://api.github.com/users/alirezamansoori/orgs","repos_url":"https://api.github.com/users/alirezamansoori/repos","events_url":"https://api.github.com/users/alirezamansoori/events{/privacy}","received_events_url":"https://api.github.com/users/alirezamansoori/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T20:52:27Z","updated_at":"2016-06-28T20:52:27Z","body":"@melatawy It's been a while - six months since I last looked through the summernote.js. I also remember my solution wasn't perfect so I didn't use it for too long and ended up writing a simple directive that had its own toolbar with less options to use with the summernote js library. So I don't recommend what my old solution was. But I think it was something like this....\r\nit included adding \r\n```\r\nif (angular.isDefined($attrs.onToolbarClick)) {\r\n      summernoteConfig.onToolbarClick = function() {\r\n        $scope.toolbarclick({evt:evt});\r\n      };\r\n    }\r\n```\r\nto the controller\r\nand adding \r\n`toolbarClick: '&onToolbarClick'`\r\nto the directive scope.\r\n\r\nAgain I'm going off memory just looking at what the latest updates.. (which looks pretty good :+1: ) on angular-summernote js . So I'm sure there are holes all over it.\r\n\r\nHope this helps, "}}
{"actor":{"display_login":"alirezamansoori"}}