{"action":"created","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/527","labels_url":"https://api.github.com/repos/quilljs/quill/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/527/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/527/events","html_url":"https://github.com/quilljs/quill/issues/527","id":117465884,"number":527,"title":"Quill can't determine line color after being destroyed and reinitialized","user":{"login":"jakedeichert","id":1631044,"avatar_url":"https://avatars.githubusercontent.com/u/1631044?v=3","gravatar_id":"","url":"https://api.github.com/users/jakedeichert","html_url":"https://github.com/jakedeichert","followers_url":"https://api.github.com/users/jakedeichert/followers","following_url":"https://api.github.com/users/jakedeichert/following{/other_user}","gists_url":"https://api.github.com/users/jakedeichert/gists{/gist_id}","starred_url":"https://api.github.com/users/jakedeichert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakedeichert/subscriptions","organizations_url":"https://api.github.com/users/jakedeichert/orgs","repos_url":"https://api.github.com/users/jakedeichert/repos","events_url":"https://api.github.com/users/jakedeichert/events{/privacy}","received_events_url":"https://api.github.com/users/jakedeichert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T22:26:31Z","updated_at":"2015-11-18T01:06:29Z","closed_at":"2015-11-18T00:19:09Z","body":"When you type in a certain color, Quill uses that same color when you make a new line. However, if you destroy Quill and reinitialize it, it won't be able to determine line colors anymore as you type.\r\n\r\nCheck out this demo to see what I mean: https://jsfiddle.net/jakevenngage/n6ee9n44/\r\n\r\nAnd here's a screenshot of the steps to reproduce in the demo...\r\n\r\n1. Press the Destroy and Init button. \r\n2. Highlight some text, change the color to red.\r\n3. Type a little, then make a new line and type more. It should be red, but it's black.\r\n\r\n![quill color issue](https://cloud.githubusercontent.com/assets/1631044/11226741/d058541e-8d4f-11e5-89e8-e011fe53e4aa.png)\r\n\r\nAny thoughts?\r\n"},"comment":{"url":"https://api.github.com/repos/quilljs/quill/issues/comments/157564554","html_url":"https://github.com/quilljs/quill/issues/527#issuecomment-157564554","issue_url":"https://api.github.com/repos/quilljs/quill/issues/527","id":157564554,"user":{"login":"jakedeichert","id":1631044,"avatar_url":"https://avatars.githubusercontent.com/u/1631044?v=3","gravatar_id":"","url":"https://api.github.com/users/jakedeichert","html_url":"https://github.com/jakedeichert","followers_url":"https://api.github.com/users/jakedeichert/followers","following_url":"https://api.github.com/users/jakedeichert/following{/other_user}","gists_url":"https://api.github.com/users/jakedeichert/gists{/gist_id}","starred_url":"https://api.github.com/users/jakedeichert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakedeichert/subscriptions","organizations_url":"https://api.github.com/users/jakedeichert/orgs","repos_url":"https://api.github.com/users/jakedeichert/repos","events_url":"https://api.github.com/users/jakedeichert/events{/privacy}","received_events_url":"https://api.github.com/users/jakedeichert/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T01:06:29Z","updated_at":"2015-11-18T01:06:29Z","body":"I updated my issue comment to use \"determine\" instead of \"remember\" (bad word choice). This issue doesn't have anything to do with state/remembering anything.\r\n\r\n"}}