draft-js-markdown-plugin icon indicating copy to clipboard operation
draft-js-markdown-plugin copied to clipboard

Un-style when backspacing

Open wmertens opened this issue 7 years ago • 2 comments

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?

wmertens avatar May 10 '18 11:05 wmertens

This definitely seems like a sensible enhancement, the way this work right now is a bit annoying.

mxstbr avatar May 24 '18 07:05 mxstbr

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

mxstbr avatar May 24 '18 07:05 mxstbr