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

unstick styles after backspace

Open andrewfan opened this issue 7 years ago • 0 comments

I found another issue with unsticking styles: kapture 2018-10-24 at 19 19 45

Doing previous PR https://github.com/withspectrum/draft-js-markdown-plugin/pull/141 I forgot that we also clear styles on the starting of the new line https://github.com/withspectrum/draft-js-markdown-plugin/blob/master/src/index.js#L373 and unstickyInlineStyles function in that case should work even if the previous block styles were changed by another plugin.

andrewfan avatar Oct 24 '18 16:10 andrewfan