Skip to content
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

Card formatting lost when deleting other cards #9852

Closed
frantzypants opened this issue Sep 5, 2018 · 0 comments
Closed

Card formatting lost when deleting other cards #9852

frantzypants opened this issue Sep 5, 2018 · 0 comments
Assignees
Labels
affects:admin Anything relating to Ghost Admin affects:editor Work relating to the Koenig Editor bug [triage] something behaving unexpectedly

Comments

@frantzypants
Copy link
Contributor

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:

  • Ghost Version: 2.1.0
  • Database: mysql
@kevinansfield kevinansfield added bug [triage] something behaving unexpectedly affects:editor Work relating to the Koenig Editor affects:admin Anything relating to Ghost Admin labels Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin affects:editor Work relating to the Koenig Editor bug [triage] something behaving unexpectedly
Projects
None yet
Development

No branches or pull requests

2 participants