{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/158","repository_url":"https://api.github.com/repos/angular-ui/ui-tinymce","labels_url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/158/comments","events_url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/158/events","html_url":"https://github.com/angular-ui/ui-tinymce/issues/158","id":98857125,"number":158,"title":"Custom configuration from scope variable not working","user":{"login":"neekers","id":1022714,"avatar_url":"https://avatars.githubusercontent.com/u/1022714?v=3","gravatar_id":"","url":"https://api.github.com/users/neekers","html_url":"https://github.com/neekers","followers_url":"https://api.github.com/users/neekers/followers","following_url":"https://api.github.com/users/neekers/following{/other_user}","gists_url":"https://api.github.com/users/neekers/gists{/gist_id}","starred_url":"https://api.github.com/users/neekers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neekers/subscriptions","organizations_url":"https://api.github.com/users/neekers/orgs","repos_url":"https://api.github.com/users/neekers/repos","events_url":"https://api.github.com/users/neekers/events{/privacy}","received_events_url":"https://api.github.com/users/neekers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-tinymce/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"deeg","id":2857769,"avatar_url":"https://avatars.githubusercontent.com/u/2857769?v=3","gravatar_id":"","url":"https://api.github.com/users/deeg","html_url":"https://github.com/deeg","followers_url":"https://api.github.com/users/deeg/followers","following_url":"https://api.github.com/users/deeg/following{/other_user}","gists_url":"https://api.github.com/users/deeg/gists{/gist_id}","starred_url":"https://api.github.com/users/deeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeg/subscriptions","organizations_url":"https://api.github.com/users/deeg/orgs","repos_url":"https://api.github.com/users/deeg/repos","events_url":"https://api.github.com/users/deeg/events{/privacy}","received_events_url":"https://api.github.com/users/deeg/received_events","type":"User","site_admin":false},"assignees":[{"login":"deeg","id":2857769,"avatar_url":"https://avatars.githubusercontent.com/u/2857769?v=3","gravatar_id":"","url":"https://api.github.com/users/deeg","html_url":"https://github.com/deeg","followers_url":"https://api.github.com/users/deeg/followers","following_url":"https://api.github.com/users/deeg/following{/other_user}","gists_url":"https://api.github.com/users/deeg/gists{/gist_id}","starred_url":"https://api.github.com/users/deeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeg/subscriptions","organizations_url":"https://api.github.com/users/deeg/orgs","repos_url":"https://api.github.com/users/deeg/repos","events_url":"https://api.github.com/users/deeg/events{/privacy}","received_events_url":"https://api.github.com/users/deeg/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular-ui/ui-tinymce/milestones/6","html_url":"https://github.com/angular-ui/ui-tinymce/milestones/0.0.15","labels_url":"https://api.github.com/repos/angular-ui/ui-tinymce/milestones/6/labels","id":1587341,"number":6,"title":"0.0.15","description":"","creator":{"login":"deeg","id":2857769,"avatar_url":"https://avatars.githubusercontent.com/u/2857769?v=3","gravatar_id":"","url":"https://api.github.com/users/deeg","html_url":"https://github.com/deeg","followers_url":"https://api.github.com/users/deeg/followers","following_url":"https://api.github.com/users/deeg/following{/other_user}","gists_url":"https://api.github.com/users/deeg/gists{/gist_id}","starred_url":"https://api.github.com/users/deeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeg/subscriptions","organizations_url":"https://api.github.com/users/deeg/orgs","repos_url":"https://api.github.com/users/deeg/repos","events_url":"https://api.github.com/users/deeg/events{/privacy}","received_events_url":"https://api.github.com/users/deeg/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2016-02-17T01:12:24Z","updated_at":"2016-05-17T01:16:38Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-08-03T23:33:32Z","updated_at":"2016-07-15T18:59:52Z","closed_at":null,"body":"When I use an actual scope to insert the configuration options for uiTinymceConfig in tinymceOptions and it doesn't work unless I put the object INLINE in the directive. Anyone else seeing this? I'm using Angular 1.2.26 and my options are being fed in on instantiation of the directive, but I can confirm that it's not being parsed.\r\n\r\nThis line doesn't eval right away with my inputted in values. If I put a $timeout of 100ms around it, it then evaluates correctly. \r\n```\r\nscope.$eval(attrs.uiTinymce));\r\n```\r\n\r\nAnyone else having this issue? I need to add a color picker and other stuff here, but I don't see a working example of this functionality, just sample code.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/comments/233038684","html_url":"https://github.com/angular-ui/ui-tinymce/issues/158#issuecomment-233038684","issue_url":"https://api.github.com/repos/angular-ui/ui-tinymce/issues/158","id":233038684,"user":{"login":"gartner","id":195601,"avatar_url":"https://avatars.githubusercontent.com/u/195601?v=3","gravatar_id":"","url":"https://api.github.com/users/gartner","html_url":"https://github.com/gartner","followers_url":"https://api.github.com/users/gartner/followers","following_url":"https://api.github.com/users/gartner/following{/other_user}","gists_url":"https://api.github.com/users/gartner/gists{/gist_id}","starred_url":"https://api.github.com/users/gartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartner/subscriptions","organizations_url":"https://api.github.com/users/gartner/orgs","repos_url":"https://api.github.com/users/gartner/repos","events_url":"https://api.github.com/users/gartner/events{/privacy}","received_events_url":"https://api.github.com/users/gartner/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T18:59:52Z","updated_at":"2016-07-15T18:59:52Z","body":"I was hit by this too. \r\nMy own options, set in the scope, was not applied. Adding an ng-if=\"tinymceOptions\" to the tag with the ui-tinymce would make my options work. \r\nBut when doing that, the text I entered into tinyMce editor, would not get back to the model, it would keep on remembering the initial value.\r\n\r\nBut placing the two angular.extend(..) calls inside $timeout() as suggested by https://github.com/sato-sh earlier in this thread, seems to fix the problem.\r\nI cannot, however, see if there is any side-effects by this."}}
{"actor":{"display_login":"gartner"}}