-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section header applied to following paragraph after delete #51
Comments
See replication steps for #26 (i.e., contenteditable is still weird) |
Original Alternative is to short circuit any delete operations and trim the selection by -1 if
The foregoing idea is possibly worth a shot but reeks of unintended consequences. |
So, I have to try to replicate this issue to encounter it. I.e., I have to select the text and then press Is anyone getting this error with standard delete operations? |
@brettimus To replicate: Put cursor before 'Live coding'. Hold Shift, press down arrow 3 times to select until end of 'Prose Editor'. Press delete. Then 'Navigate... ' gets Header style. |
👍 thanks! |
As of now it’s feeling like we’re bumping into contenteditable weirdness. I’m not sure mediumeditor gives us enough control over editor contents to fix this. The medium selection API is returning unexpected results when I try debugging in the middle of replicating. 😖 |
Underlying conditions that cause this bug seem to be that
The |
Steps to reproduce:

1. press backspace 2. now the next paragraph ("Load the...") is a section header -- expect instead it should keep its style (regular paragraph/body text) intactThe text was updated successfully, but these errors were encountered: