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

Solve bug in redo when try to split and enter a new paragraph. #244

Merged

Conversation

MarioRodriguezS
Copy link
Contributor

Description

There was a bug when the user tried to split a paragraph, enter to create a new paragraph, undo the action, and redo it. The paragraph content was being duplicated:

Screen.Recording.2024-03-25.at.7.49.26.PM.mov

Solution

To solve the issue, a corner case was complemented to consider this use case:

Screen.Recording.2024-03-25.at.7.52.12.PM.mov

Copy link
Member

@miguelnietoa miguelnietoa left a comment

Choose a reason for hiding this comment

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

@MarioRodriguezS well done 💯

src/index.js Show resolved Hide resolved
@MarioRodriguezS MarioRodriguezS merged commit 8222a28 into kommitters:v2.0 Mar 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants