{"action":"created","issue":{"url":"https://api.github.com/repos/orionjs/orion/issues/414","repository_url":"https://api.github.com/repos/orionjs/orion","labels_url":"https://api.github.com/repos/orionjs/orion/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/orionjs/orion/issues/414/comments","events_url":"https://api.github.com/repos/orionjs/orion/issues/414/events","html_url":"https://github.com/orionjs/orion/issues/414","id":155761657,"number":414,"title":"Summernote: \"TypeError: element.code is not a function\"","user":{"login":"tomyo","id":708569,"avatar_url":"https://avatars.githubusercontent.com/u/708569?v=3","gravatar_id":"","url":"https://api.github.com/users/tomyo","html_url":"https://github.com/tomyo","followers_url":"https://api.github.com/users/tomyo/followers","following_url":"https://api.github.com/users/tomyo/following{/other_user}","gists_url":"https://api.github.com/users/tomyo/gists{/gist_id}","starred_url":"https://api.github.com/users/tomyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomyo/subscriptions","organizations_url":"https://api.github.com/users/tomyo/orgs","repos_url":"https://api.github.com/users/tomyo/repos","events_url":"https://api.github.com/users/tomyo/events{/privacy}","received_events_url":"https://api.github.com/users/tomyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-19T15:11:40Z","updated_at":"2016-06-07T01:02:20Z","closed_at":null,"body":"Hi, I've been getting this error when I enter the Dictionary section in the admin, it used to work fine. \r\nI tried meteor reset: nothing. I think I did a update of this package some weeks ago.\r\nI also notest the data that was inside the summernote before this error is still showing, but in the admin all I see inside is `<p><br></p>`, and I can't save the changes.\r\n\r\nThis is what I got:\r\n`orion.dictionary.addDefinition('mainSection', 'home',\r\n  orion.attribute('summernote', {\r\n    label: 'Sección principal',\r\n    optional: true\r\n  })\r\n);`\r\n\r\nand then in my template:\r\n\r\n`{{{ dict 'home.mainSection' }}}`\r\n\r\nThis is the traceback from the browser console:\r\n\r\n`Exception from Tracker afterFlush function: undefined\r\ndebug.js:43 TypeError: element.code is not a function\r\n    at .<anonymous> (http://localhost:3000/packages/orionjs_summernote.js?hash=618f6d7f295fd267fbb13166cb694393c8baaa1a:164:11)\r\n    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3341:22\r\n    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3687:12)\r\n    at fireCallbacks (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3337:12)\r\n    at .<anonymous> (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3430:5)\r\n    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1783:14\r\n    at Object.Blaze._withCurrentView (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2214:12)\r\n    at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1782:15\r\n    at Object.Tracker._runFlush (http://localhost:3000/packages/tracker.js?hash=6f5d0f5486aaa54b0abe636174eeb06dcc2a736b:525:11)\r\n    at Object.Tracker.flush (http://localhost:3000/packages/tracker.js?hash=6f5d0f5486aaa54b0abe636174eeb06dcc2a736b:469:11) undefined`\r\n\r\nPackages versions:\r\n```\r\nsummernote:standalone@0.8.1\r\norionjs:summernote@1.8.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/orionjs/orion/issues/comments/224133503","html_url":"https://github.com/orionjs/orion/issues/414#issuecomment-224133503","issue_url":"https://api.github.com/repos/orionjs/orion/issues/414","id":224133503,"user":{"login":"JeremyIglehart","id":11376326,"avatar_url":"https://avatars.githubusercontent.com/u/11376326?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyIglehart","html_url":"https://github.com/JeremyIglehart","followers_url":"https://api.github.com/users/JeremyIglehart/followers","following_url":"https://api.github.com/users/JeremyIglehart/following{/other_user}","gists_url":"https://api.github.com/users/JeremyIglehart/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyIglehart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyIglehart/subscriptions","organizations_url":"https://api.github.com/users/JeremyIglehart/orgs","repos_url":"https://api.github.com/users/JeremyIglehart/repos","events_url":"https://api.github.com/users/JeremyIglehart/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyIglehart/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T01:02:20Z","updated_at":"2016-06-07T01:02:20Z","body":"+1 - I'd like to use the new version of summernote"}}
{"actor":{"display_login":"JeremyIglehart"}}