{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/draft-js/issues/168","repository_url":"https://api.github.com/repos/facebook/draft-js","labels_url":"https://api.github.com/repos/facebook/draft-js/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/facebook/draft-js/issues/168/comments","events_url":"https://api.github.com/repos/facebook/draft-js/issues/168/events","html_url":"https://github.com/facebook/draft-js/issues/168","id":139008951,"number":168,"title":"Blocks removing","user":{"login":"Ahineya","id":2745520,"avatar_url":"https://avatars.githubusercontent.com/u/2745520?v=3","gravatar_id":"","url":"https://api.github.com/users/Ahineya","html_url":"https://github.com/Ahineya","followers_url":"https://api.github.com/users/Ahineya/followers","following_url":"https://api.github.com/users/Ahineya/following{/other_user}","gists_url":"https://api.github.com/users/Ahineya/gists{/gist_id}","starred_url":"https://api.github.com/users/Ahineya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ahineya/subscriptions","organizations_url":"https://api.github.com/users/Ahineya/orgs","repos_url":"https://api.github.com/users/Ahineya/repos","events_url":"https://api.github.com/users/Ahineya/events{/privacy}","received_events_url":"https://api.github.com/users/Ahineya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-07T15:35:40Z","updated_at":"2016-03-07T17:14:10Z","closed_at":"2016-03-07T17:14:10Z","body":"Is there any possibility to remove block completely instead of removing block's content and setting the block as \"unstyled\"?\r\n\r\nIn the TeX example blocks aren't removing completely:\r\nhttps://github.com/facebook/draft-js/blob/master/examples%2Ftex%2Fjs%2Fmodifiers%2FremoveTeXBlock.js#L37"},"comment":{"url":"https://api.github.com/repos/facebook/draft-js/issues/comments/193352602","html_url":"https://github.com/facebook/draft-js/issues/168#issuecomment-193352602","issue_url":"https://api.github.com/repos/facebook/draft-js/issues/168","id":193352602,"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-07T17:14:10Z","updated_at":"2016-03-07T17:14:10Z","body":"Sure, you could use [`Modifier.removeRange`](http://facebook.github.io/draft-js/docs/api-reference-modifier.html#removerange)."}}