draft-js-markdown-plugin
draft-js-markdown-plugin copied to clipboard
Un-style when backspacing
I made something italic and then backspaced to correct the word, but then I couldn't escape italic any more… maybe backspacing should remove the hidden terminating character, thus showing the starting character again, and un-style the range?
This definitely seems like a sensible enhancement, the way this work right now is a bit annoying.
Maybe the right way to do this too would be to "unsticky" the inline styles like discussed here: https://github.com/facebook/draft-js/issues/430