{"action":"closed","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/369","labels_url":"https://api.github.com/repos/quilljs/quill/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/369/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/369/events","html_url":"https://github.com/quilljs/quill/issues/369","id":75944182,"number":369,"title":"insert a image","user":{"login":"wghust","id":3960935,"avatar_url":"https://avatars.githubusercontent.com/u/3960935?v=3","gravatar_id":"","url":"https://api.github.com/users/wghust","html_url":"https://github.com/wghust","followers_url":"https://api.github.com/users/wghust/followers","following_url":"https://api.github.com/users/wghust/following{/other_user}","gists_url":"https://api.github.com/users/wghust/gists{/gist_id}","starred_url":"https://api.github.com/users/wghust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wghust/subscriptions","organizations_url":"https://api.github.com/users/wghust/orgs","repos_url":"https://api.github.com/users/wghust/repos","events_url":"https://api.github.com/users/wghust/events{/privacy}","received_events_url":"https://api.github.com/users/wghust/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-13T10:56:03Z","updated_at":"2015-05-15T21:43:54Z","closed_at":"2015-05-15T21:43:54Z","body":"```javascript\r\n_pthis._editor.updateContents({\r\n   ops: [{\r\n               insert: 1,\r\n               attributes: {\r\n                     alt: \"Lab Octocat\",\r\n                     image: 'http://ossweb-img.qq.com/images/cf/web201412/match/cfdl.jpg'\r\n               }\r\n    }]\r\n});\r\n```\r\nI want to insert a image, but always has this bug ‘Cannot read property 'isType' of undefined’. maybe I have lost some attributes, what I should do?"}}