{"action":"created","issue":{"url":"https://api.github.com/repos/neilj/Squire/issues/170","labels_url":"https://api.github.com/repos/neilj/Squire/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/neilj/Squire/issues/170/comments","events_url":"https://api.github.com/repos/neilj/Squire/issues/170/events","html_url":"https://github.com/neilj/Squire/issues/170","id":128544805,"number":170,"title":"Error using multiple editors in one page.","user":{"login":"sokeara","id":5954007,"avatar_url":"https://avatars.githubusercontent.com/u/5954007?v=3","gravatar_id":"","url":"https://api.github.com/users/sokeara","html_url":"https://github.com/sokeara","followers_url":"https://api.github.com/users/sokeara/followers","following_url":"https://api.github.com/users/sokeara/following{/other_user}","gists_url":"https://api.github.com/users/sokeara/gists{/gist_id}","starred_url":"https://api.github.com/users/sokeara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokeara/subscriptions","organizations_url":"https://api.github.com/users/sokeara/orgs","repos_url":"https://api.github.com/users/sokeara/repos","events_url":"https://api.github.com/users/sokeara/events{/privacy}","received_events_url":"https://api.github.com/users/sokeara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T14:11:16Z","updated_at":"2016-01-27T17:38:11Z","closed_at":"2016-01-27T17:38:11Z","body":"I got error when using multiple editors in one page. The UI renders correctly but the commands don't work for the first editor.\r\n\r\nMy code is\r\n\r\n<code>\r\n$(document).ready(function () {\r\n</code>\r\n\r\n   <code> UI1 = new SquireUI({replace: '#textarea1', height: 300}); </code>\r\n\r\n   <code> UI2 = new SquireUI({replace: '#textarea2', height: 300});</code>\r\n\r\n<code>\r\n});\r\n</code>\r\n\r\nif I place UI2 before UI1, the UI 1 will work but the UI2 won't."},"comment":{"url":"https://api.github.com/repos/neilj/Squire/issues/comments/175762737","html_url":"https://github.com/neilj/Squire/issues/170#issuecomment-175762737","issue_url":"https://api.github.com/repos/neilj/Squire/issues/170","id":175762737,"user":{"login":"neilj","id":275995,"avatar_url":"https://avatars.githubusercontent.com/u/275995?v=3","gravatar_id":"","url":"https://api.github.com/users/neilj","html_url":"https://github.com/neilj","followers_url":"https://api.github.com/users/neilj/followers","following_url":"https://api.github.com/users/neilj/following{/other_user}","gists_url":"https://api.github.com/users/neilj/gists{/gist_id}","starred_url":"https://api.github.com/users/neilj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilj/subscriptions","organizations_url":"https://api.github.com/users/neilj/orgs","repos_url":"https://api.github.com/users/neilj/repos","events_url":"https://api.github.com/users/neilj/events{/privacy}","received_events_url":"https://api.github.com/users/neilj/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T17:38:11Z","updated_at":"2016-01-27T17:38:11Z","body":"Sorry, I can't provide support for SquireUI. That's just a demo integration, and probably unsuitable for production use. If you don't want to integrate your own UI with Squire, you might want to look at something like https://github.com/HourlyNerd/angular-squire, which is an integration for Angular."}}