Card formatting lost when deleting other cards #9852
Labels
affects:admin
Anything relating to Ghost Admin
affects:editor
Work relating to the Koenig Editor
bug
[triage] something behaving unexpectedly
Issue Summary
There appears to be some odd behaviour when a card is deleted. Specifically, when there are multiple cards and you select a card with the carriage return of the previous card included, and then delete the card, the entire post loses all card formatting information.
To Reproduce
Below are three use cases, one positive, the other two negative, which can all be reproduced.
Use Case A: NEGATIVE
A1. Blog post with three cards - two markdown cards and one normal text card
A2. A selection including the normal text with carriage return included, then press backspace to delete it
A3. The result showing all formatting lost in all cards
Use Case B: POSITIVE
B1. Blog post with three cards - two markdown cards and one normal text card. A selection including the normal text with the carriage return NOT included, then press backspace to delete it
B2. Successfully deleted paragraph, all markdown cards ok.
Use Cace C: NEGATIVE
C1. Blog post with two markdown cards and one normal text card. The selection includes one markdown card with carriage return of the previous card
C2: The result showing all formatting lost in all cards
Technical details:
The text was updated successfully, but these errors were encountered: