{"action":"created","issue":{"url":"https://api.github.com/repos/summernote/summernote/issues/1083","labels_url":"https://api.github.com/repos/summernote/summernote/issues/1083/labels{/name}","comments_url":"https://api.github.com/repos/summernote/summernote/issues/1083/comments","events_url":"https://api.github.com/repos/summernote/summernote/issues/1083/events","html_url":"https://github.com/summernote/summernote/issues/1083","id":76845992,"number":1083,"title":"Problem insertText after insertNode","user":{"login":"phzbox","id":779100,"avatar_url":"https://avatars.githubusercontent.com/u/779100?v=3","gravatar_id":"","url":"https://api.github.com/users/phzbox","html_url":"https://github.com/phzbox","followers_url":"https://api.github.com/users/phzbox/followers","following_url":"https://api.github.com/users/phzbox/following{/other_user}","gists_url":"https://api.github.com/users/phzbox/gists{/gist_id}","starred_url":"https://api.github.com/users/phzbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phzbox/subscriptions","organizations_url":"https://api.github.com/users/phzbox/orgs","repos_url":"https://api.github.com/users/phzbox/repos","events_url":"https://api.github.com/users/phzbox/events{/privacy}","received_events_url":"https://api.github.com/users/phzbox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/summernote/summernote/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"hackerwins","id":2059311,"avatar_url":"https://avatars.githubusercontent.com/u/2059311?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerwins","html_url":"https://github.com/hackerwins","followers_url":"https://api.github.com/users/hackerwins/followers","following_url":"https://api.github.com/users/hackerwins/following{/other_user}","gists_url":"https://api.github.com/users/hackerwins/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerwins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerwins/subscriptions","organizations_url":"https://api.github.com/users/hackerwins/orgs","repos_url":"https://api.github.com/users/hackerwins/repos","events_url":"https://api.github.com/users/hackerwins/events{/privacy}","received_events_url":"https://api.github.com/users/hackerwins/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/summernote/summernote/milestones/16","html_url":"https://github.com/summernote/summernote/milestones/v0.6.14","labels_url":"https://api.github.com/repos/summernote/summernote/milestones/16/labels","id":1226234,"number":16,"title":"v0.6.14","description":"","creator":{"login":"hackerwins","id":2059311,"avatar_url":"https://avatars.githubusercontent.com/u/2059311?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerwins","html_url":"https://github.com/hackerwins","followers_url":"https://api.github.com/users/hackerwins/followers","following_url":"https://api.github.com/users/hackerwins/following{/other_user}","gists_url":"https://api.github.com/users/hackerwins/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerwins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerwins/subscriptions","organizations_url":"https://api.github.com/users/hackerwins/orgs","repos_url":"https://api.github.com/users/hackerwins/repos","events_url":"https://api.github.com/users/hackerwins/events{/privacy}","received_events_url":"https://api.github.com/users/hackerwins/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":13,"state":"open","created_at":"2015-07-26T13:56:57Z","updated_at":"2015-07-28T15:05:38Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-15T20:23:25Z","updated_at":"2015-07-28T15:05:43Z","closed_at":null,"body":"I'm trying to add an inline node with a space next to it.\r\n\r\n    var node = $('<span contenteditable=\"false\">test</span>')\r\n    $('#testing').summernote('insertNode', node[0]);\r\n    $('#testing').summernote('insertText', ' ');\r\n\r\nThe node works, but then I get this error message for the insertText:\r\n\r\n`Uncaught TypeError: Cannot read property 'insertNode' of null\r\n    at Editor.insertText summernote.js`\r\n\r\nThis is the line that fail is summernote.js: `var rng = this.createRange($editable);`\r\n\r\nIs there something else I need to add after the 'insertNode'?"},"comment":{"url":"https://api.github.com/repos/summernote/summernote/issues/comments/125641244","html_url":"https://github.com/summernote/summernote/issues/1083#issuecomment-125641244","issue_url":"https://api.github.com/repos/summernote/summernote/issues/1083","id":125641244,"user":{"login":"hackerwins","id":2059311,"avatar_url":"https://avatars.githubusercontent.com/u/2059311?v=3","gravatar_id":"","url":"https://api.github.com/users/hackerwins","html_url":"https://github.com/hackerwins","followers_url":"https://api.github.com/users/hackerwins/followers","following_url":"https://api.github.com/users/hackerwins/following{/other_user}","gists_url":"https://api.github.com/users/hackerwins/gists{/gist_id}","starred_url":"https://api.github.com/users/hackerwins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackerwins/subscriptions","organizations_url":"https://api.github.com/users/hackerwins/orgs","repos_url":"https://api.github.com/users/hackerwins/repos","events_url":"https://api.github.com/users/hackerwins/events{/privacy}","received_events_url":"https://api.github.com/users/hackerwins/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T15:05:43Z","updated_at":"2015-07-28T15:05:43Z","body":"@Zukeh Thanks for reporting.\r\nBut I can't find that situation. Please let me know more details about reproduce steps or browser and summernote version.\r\n![jul 29 2015 00 05](https://cloud.githubusercontent.com/assets/2059311/8935022/8968b052-3585-11e5-875d-781b825d2600.gif)\r\n"}}