Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

unstick styles after backspace #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewfan
Copy link

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

Doing previous PR #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.

Copy link

@mxstbr mxstbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Mind adding a test for this so we don't accidentally break it again?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants