{"action":"created","issue":{"url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/20","repository_url":"https://api.github.com/repos/SamVerschueren/ngx-monaco","labels_url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/20/comments","events_url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/20/events","html_url":"https://github.com/SamVerschueren/ngx-monaco/issues/20","id":377772450,"node_id":"MDU6SXNzdWUzNzc3NzI0NTA=","number":20,"title":"How can I access the monaco-editor instance?","user":{"login":"kent08ian","id":7494219,"node_id":"MDQ6VXNlcjc0OTQyMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/7494219?v=4","gravatar_id":"","url":"https://api.github.com/users/kent08ian","html_url":"https://github.com/kent08ian","followers_url":"https://api.github.com/users/kent08ian/followers","following_url":"https://api.github.com/users/kent08ian/following{/other_user}","gists_url":"https://api.github.com/users/kent08ian/gists{/gist_id}","starred_url":"https://api.github.com/users/kent08ian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kent08ian/subscriptions","organizations_url":"https://api.github.com/users/kent08ian/orgs","repos_url":"https://api.github.com/users/kent08ian/repos","events_url":"https://api.github.com/users/kent08ian/events{/privacy}","received_events_url":"https://api.github.com/users/kent08ian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T10:03:02Z","updated_at":"2018-11-08T12:32:34Z","closed_at":null,"author_association":"NONE","body":"onReady(editor: monaco.editor.IEditor) {\r\n    editor.getId();\r\n  }\r\n\r\nI'm getting \"Cannot read property 'getId' of undefined\". I hope you can help me on how to get its instance. :)"},"comment":{"url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/comments/436978849","html_url":"https://github.com/SamVerschueren/ngx-monaco/issues/20#issuecomment-436978849","issue_url":"https://api.github.com/repos/SamVerschueren/ngx-monaco/issues/20","id":436978849,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjk3ODg0OQ==","user":{"login":"ahmadmu","id":11278706,"node_id":"MDQ6VXNlcjExMjc4NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/11278706?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmadmu","html_url":"https://github.com/ahmadmu","followers_url":"https://api.github.com/users/ahmadmu/followers","following_url":"https://api.github.com/users/ahmadmu/following{/other_user}","gists_url":"https://api.github.com/users/ahmadmu/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmadmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmadmu/subscriptions","organizations_url":"https://api.github.com/users/ahmadmu/orgs","repos_url":"https://api.github.com/users/ahmadmu/repos","events_url":"https://api.github.com/users/ahmadmu/events{/privacy}","received_events_url":"https://api.github.com/users/ahmadmu/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T12:32:34Z","updated_at":"2018-11-08T12:32:34Z","author_association":"NONE","body":"It happens because 'editor' is undefined. I looked into the source code. apparently the 'ready' EventEmitter doesn't emit anything:\r\nhttps://github.com/SamVerschueren/ngx-monaco/blob/master/src/directives/monaco-editor/monaco-editor.directive.ts"}}
{"actor":{"display_login":"ahmadmu"}}