{"action":"created","issue":{"url":"https://api.github.com/repos/basecamp/trix/issues/182","repository_url":"https://api.github.com/repos/basecamp/trix","labels_url":"https://api.github.com/repos/basecamp/trix/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/basecamp/trix/issues/182/comments","events_url":"https://api.github.com/repos/basecamp/trix/issues/182/events","html_url":"https://github.com/basecamp/trix/issues/182","id":132858197,"number":182,"title":"Removing instances","user":{"login":"bribar","id":10064729,"avatar_url":"https://avatars.githubusercontent.com/u/10064729?v=3","gravatar_id":"","url":"https://api.github.com/users/bribar","html_url":"https://github.com/bribar","followers_url":"https://api.github.com/users/bribar/followers","following_url":"https://api.github.com/users/bribar/following{/other_user}","gists_url":"https://api.github.com/users/bribar/gists{/gist_id}","starred_url":"https://api.github.com/users/bribar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bribar/subscriptions","organizations_url":"https://api.github.com/users/bribar/orgs","repos_url":"https://api.github.com/users/bribar/repos","events_url":"https://api.github.com/users/bribar/events{/privacy}","received_events_url":"https://api.github.com/users/bribar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-11T00:21:40Z","updated_at":"2016-02-11T02:33:29Z","closed_at":null,"body":"Hi Javan,\r\n\r\nNice job on the editor, real smooth! I was curious how to remove all instances or reset them?\r\n\r\nI am using intercooler.js if you are familiar that manipulates parts of the DOM. I am noticing Trix is incrementing the Trix id per instance, which is cool and as excepted. But since the page never refreshes for links or navigation, new Trix instances are loaded in and incremented when replacing a DOM element that contains a Trix editor. Is it possible to reset the index to 1 if needed?"},"comment":{"url":"https://api.github.com/repos/basecamp/trix/issues/comments/182677021","html_url":"https://github.com/basecamp/trix/issues/182#issuecomment-182677021","issue_url":"https://api.github.com/repos/basecamp/trix/issues/182","id":182677021,"user":{"login":"bribar","id":10064729,"avatar_url":"https://avatars.githubusercontent.com/u/10064729?v=3","gravatar_id":"","url":"https://api.github.com/users/bribar","html_url":"https://github.com/bribar","followers_url":"https://api.github.com/users/bribar/followers","following_url":"https://api.github.com/users/bribar/following{/other_user}","gists_url":"https://api.github.com/users/bribar/gists{/gist_id}","starred_url":"https://api.github.com/users/bribar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bribar/subscriptions","organizations_url":"https://api.github.com/users/bribar/orgs","repos_url":"https://api.github.com/users/bribar/repos","events_url":"https://api.github.com/users/bribar/events{/privacy}","received_events_url":"https://api.github.com/users/bribar/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T02:33:29Z","updated_at":"2016-02-11T02:33:29Z","body":"I can probably work around it. It would be a lot easier to reset. Any plans for it?\n\n> On Feb 10, 2016, at 5:45 PM, Javan Makhmali <notifications@github.com> wrote:\n> \n> There's no way to reset it, currently. Are you saying it's problematic for you?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}