{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/draft-js/issues/221","repository_url":"https://api.github.com/repos/facebook/draft-js","labels_url":"https://api.github.com/repos/facebook/draft-js/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/facebook/draft-js/issues/221/comments","events_url":"https://api.github.com/repos/facebook/draft-js/issues/221/events","html_url":"https://github.com/facebook/draft-js/issues/221","id":142233352,"number":221,"title":"Custom styles raw encoding/decoding","user":{"login":"Paul-Wray","id":13049785,"avatar_url":"https://avatars.githubusercontent.com/u/13049785?v=3","gravatar_id":"","url":"https://api.github.com/users/Paul-Wray","html_url":"https://github.com/Paul-Wray","followers_url":"https://api.github.com/users/Paul-Wray/followers","following_url":"https://api.github.com/users/Paul-Wray/following{/other_user}","gists_url":"https://api.github.com/users/Paul-Wray/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul-Wray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul-Wray/subscriptions","organizations_url":"https://api.github.com/users/Paul-Wray/orgs","repos_url":"https://api.github.com/users/Paul-Wray/repos","events_url":"https://api.github.com/users/Paul-Wray/events{/privacy}","received_events_url":"https://api.github.com/users/Paul-Wray/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/draft-js/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T01:36:56Z","updated_at":"2016-03-21T15:32:18Z","closed_at":"2016-03-21T15:32:18Z","body":"Custom styles don't seem to reach the raw-encoded output, although I find there is a test case which suggests that they should. I feel sure you would be aware of this, but I cannot find an issue or discussion for it. There is also an unanswered question on StackOverflow re this.\r\n* Add (eg) SUP and SUB styles\r\n* Apply custom styles to a block in the editor\r\n* Export using convertToRaw\r\n* Examine inlineStyleRanges for the block\r\n* No style ranges appear for custom styled text\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/draft-js/issues/comments/199342017","html_url":"https://github.com/facebook/draft-js/issues/221#issuecomment-199342017","issue_url":"https://api.github.com/repos/facebook/draft-js/issues/221","id":199342017,"user":{"login":"hellendag","id":2823852,"avatar_url":"https://avatars.githubusercontent.com/u/2823852?v=3","gravatar_id":"","url":"https://api.github.com/users/hellendag","html_url":"https://github.com/hellendag","followers_url":"https://api.github.com/users/hellendag/followers","following_url":"https://api.github.com/users/hellendag/following{/other_user}","gists_url":"https://api.github.com/users/hellendag/gists{/gist_id}","starred_url":"https://api.github.com/users/hellendag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellendag/subscriptions","organizations_url":"https://api.github.com/users/hellendag/orgs","repos_url":"https://api.github.com/users/hellendag/repos","events_url":"https://api.github.com/users/hellendag/events{/privacy}","received_events_url":"https://api.github.com/users/hellendag/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T15:32:18Z","updated_at":"2016-03-21T15:32:18Z","body":"This was merged as #217, and will be in the upcoming release. :)"}}