{"action":"created","issue":{"url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/14","labels_url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/14/comments","events_url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/14/events","html_url":"https://github.com/andykirk/CKEditorFootnotes/issues/14","id":88374624,"number":14,"title":"Cannot create footnotes if track changes plugin is enabled","user":{"login":"tuhlmann","id":407319,"avatar_url":"https://avatars.githubusercontent.com/u/407319?v=3","gravatar_id":"","url":"https://api.github.com/users/tuhlmann","html_url":"https://github.com/tuhlmann","followers_url":"https://api.github.com/users/tuhlmann/followers","following_url":"https://api.github.com/users/tuhlmann/following{/other_user}","gists_url":"https://api.github.com/users/tuhlmann/gists{/gist_id}","starred_url":"https://api.github.com/users/tuhlmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuhlmann/subscriptions","organizations_url":"https://api.github.com/users/tuhlmann/orgs","repos_url":"https://api.github.com/users/tuhlmann/repos","events_url":"https://api.github.com/users/tuhlmann/events{/privacy}","received_events_url":"https://api.github.com/users/tuhlmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-15T09:48:03Z","updated_at":"2015-06-15T10:02:47Z","closed_at":null,"body":"In our ckeditor instance we use the track changes plugin (http://ckeditor.com/addon/lite) and are testing out the footnotes plugin.\r\n\r\nIt works fine if the track changes plugin is disabled. However when it is enabled, the following error is thrown inside the footnotes plugin:\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'initEditable' of undefined\r\nCKEDITOR.plugins.add.reorderMarkers @ plugin.js?t=F0RD:292\r\nCKEDITOR.plugins.add.build @ plugin.js?t=F0RD:147\r\nonOk @ footnotes.js?t=F0RD:149\r\n(anonymous function) @ ckeditor.js:526\r\nj @ ckeditor.js:10\r\nCKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\r\nCKEDITOR.tools.extend.okButton.CKEDITOR.tools.extend.onClick @ ckeditor.js:548\r\n(anonymous function) @ ckeditor.js:491\r\nj @ ckeditor.js:10\r\nCKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\r\nCKEDITOR.ui.dialog.button.CKEDITOR.tools.extend.click @ ckeditor.js:490\r\n(anonymous function) @ ckeditor.js:482\r\nj @ ckeditor.js:10CKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\r\nCKEDITOR.dom.domObject.a @ ckeditor.js:45\r\n```\r\n\r\nIs that a known problem? Should I investigate on the footnote or track changes side of things?\r\n\r\nAny pointers for a possible fix would be greatly appreciated.\r\n\r\nWe use the following versions:\r\n\r\nckeditor: 4.4.7\r\ntrack changes plugin: 1.2.13\r\nfootnotes plugin: 1.0.8 \r\n\r\nThanks,\r\nTorsten."},"comment":{"url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/comments/112003529","html_url":"https://github.com/andykirk/CKEditorFootnotes/issues/14#issuecomment-112003529","issue_url":"https://api.github.com/repos/andykirk/CKEditorFootnotes/issues/14","id":112003529,"user":{"login":"andykirk","id":1502457,"avatar_url":"https://avatars.githubusercontent.com/u/1502457?v=3","gravatar_id":"","url":"https://api.github.com/users/andykirk","html_url":"https://github.com/andykirk","followers_url":"https://api.github.com/users/andykirk/followers","following_url":"https://api.github.com/users/andykirk/following{/other_user}","gists_url":"https://api.github.com/users/andykirk/gists{/gist_id}","starred_url":"https://api.github.com/users/andykirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andykirk/subscriptions","organizations_url":"https://api.github.com/users/andykirk/orgs","repos_url":"https://api.github.com/users/andykirk/repos","events_url":"https://api.github.com/users/andykirk/events{/privacy}","received_events_url":"https://api.github.com/users/andykirk/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T10:02:47Z","updated_at":"2015-06-15T10:02:47Z","body":"Hi Torsten\n\nI've not used the track changes plugin so I've not encountered this problem before (and it hasn't been reported before).\nSounds like it might be an event-timing issue. I design the footnotes plugin to work with whatever markup is in place in the editor - but obviously something isn't playing nice.\nI may be that I need to make sure the Footnotes events are fire last or something\n\nIf you could raise an issue on GitHub (https://github.com/andykirk/CKEditorFootnotes) I'll investigate as soon as I can (some time in the next few weeks - when time allows).\nThere are a bunch of other issue I intend to look at too, so I plan to tackle them at the same time.\n\nPlease let me know if you make any further discoveries. Sorry I can't be any more immediate help.\n\nAndy\n\n________________________________\nFrom: Torsten Uhlmann [notifications@github.com]\nSent: 15 June 2015 10:48\nTo: andykirk/CKEditorFootnotes\nSubject: [CKEditorFootnotes] Cannot create footnotes if track changes plugin is enabled (#14)\n\n\nIn our ckeditor instance we use the track changes plugin (http://ckeditor.com/addon/lite) and are testing out the footnotes plugin.\n\nIt works fine if the track changes plugin is disabled. However when it is enabled, the following error is thrown inside the footnotes plugin:\n\nUncaught TypeError: Cannot read property 'initEditable' of undefined\nCKEDITOR.plugins.add.reorderMarkers @ plugin.js?t=F0RD:292\nCKEDITOR.plugins.add.build @ plugin.js?t=F0RD:147\nonOk @ footnotes.js?t=F0RD:149\n(anonymous function) @ ckeditor.js:526\nj @ ckeditor.js:10\nCKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\nCKEDITOR.tools.extend.okButton.CKEDITOR.tools.extend.onClick @ ckeditor.js:548\n(anonymous function) @ ckeditor.js:491\nj @ ckeditor.js:10\nCKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\nCKEDITOR.ui.dialog.button.CKEDITOR.tools.extend.click @ ckeditor.js:490\n(anonymous function) @ ckeditor.js:482\nj @ ckeditor.js:10CKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:12\nCKEDITOR.dom.domObject.a @ ckeditor.js:45\n\n\nIs that a known problem? Should I investigate on the footnote or track changes side of things?\n\nAny pointers for a possible fix would be greatly appreciated.\n\nWe use the following versions:\n\nckeditor: 4.4.7\ntrack changes plugin: 1.2.13\nfootnotes plugin: 1.0.8\n\nThanks,\nTorsten.\n\n—\nReply to this email directly or view it on GitHub<https://github.com/andykirk/CKEditorFootnotes/issues/14>.\n"}}