{"action":"closed","issue":{"url":"https://api.github.com/repos/tinymce/tinymce/issues/649","labels_url":"https://api.github.com/repos/tinymce/tinymce/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/tinymce/tinymce/issues/649/comments","events_url":"https://api.github.com/repos/tinymce/tinymce/issues/649/events","html_url":"https://github.com/tinymce/tinymce/issues/649","id":113927627,"number":649,"title":"remove editor instance","user":{"login":"TinyMCE-User","id":14879844,"avatar_url":"https://avatars.githubusercontent.com/u/14879844?v=3","gravatar_id":"","url":"https://api.github.com/users/TinyMCE-User","html_url":"https://github.com/TinyMCE-User","followers_url":"https://api.github.com/users/TinyMCE-User/followers","following_url":"https://api.github.com/users/TinyMCE-User/following{/other_user}","gists_url":"https://api.github.com/users/TinyMCE-User/gists{/gist_id}","starred_url":"https://api.github.com/users/TinyMCE-User/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TinyMCE-User/subscriptions","organizations_url":"https://api.github.com/users/TinyMCE-User/orgs","repos_url":"https://api.github.com/users/TinyMCE-User/repos","events_url":"https://api.github.com/users/TinyMCE-User/events{/privacy}","received_events_url":"https://api.github.com/users/TinyMCE-User/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tinymce/tinymce/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/chrome","name":"chrome","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/closed","name":"closed","color":"5319e7"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/firefox","name":"firefox","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/fixed","name":"fixed","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/imported","name":"imported","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/msie","name":"msie","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/opera","name":"opera","color":"ededed"},{"url":"https://api.github.com/repos/tinymce/tinymce/labels/safari","name":"safari","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-05-06T17:57:49Z","updated_at":"2015-10-28T21:46:58Z","closed_at":"2015-10-28T21:46:58Z","body":"Description of problem:\r\n\r\nSteps to reproduce:\r\n1. using ajax for live content updating \r\n2.removal of tinymce.editors.&ltg;closed instance id >\r\n3.removal of tinymce.editors[&ltg;n>] ref to closed instance id above\r\n4.running following code\r\n//&ltg;[CDATA\r\n    if('undefined' !== typeof tinymce.editors )\r\n      for( b in tinymce.editors )\r\n        if(tinymce.editors.hasOwnProperty(b) && !isElement(tinymce.editors[b].id) ){\r\n          tinymce.remove(tinymce.editors[b]);\r\n//]>\r\n5.\r\nnot removing old now dead instance objects due to following omission from routine call I believe\r\n//&ltg;[CDATA \r\n//* @method destroy\r\napprox code line 26000 tinymce.js\r\nif (!automatic) {\r\nself.editorManager.off(self._beforeUnload); // existing code\r\n\t\t\t\tself.editorManager.off('BeforeUnload',self._beforeUnload); // assumed solution\r\n\r\n\n> _**Legacy information imported from TinyMCE bug tracker:**_\n>\n> _[#T5859](http://archive.tinymce.com/develop/bugtracker_view.php?id=5859) posted by [IgoAtM](http://archive.tinymce.com/profile.php?name=IgoAtM)_\n\n> _**Tags:** [firefox msie safari chrome opera remove tinymceremove]_\n> _**Status:** Closed_\n> _**Resolution:** Fixed_\n> _**Attached URL:** none_\n"}}