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

Fix: Nested editable. #17809

Merged
merged 16 commits into from
Feb 19, 2025
Merged

Fix: Nested editable. #17809

merged 16 commits into from
Feb 19, 2025

Conversation

gorzelinski
Copy link
Contributor

@gorzelinski gorzelinski commented Jan 24, 2025

Suggested merge commit message (convention)

Fix: Nested editable. Closes #17383.


Additional information

It fixes deleting nested editables on all browsers with an edge case on Safari (deleting whole lines).

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@gorzelinski gorzelinski requested review from arkflpc, Mati365 and niegowski and removed request for Mati365 January 24, 2025 08:03
Copy link
Contributor

@pszczesniak pszczesniak left a comment

Choose a reason for hiding this comment

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

Please add tests to cover proposed solution and to make 100% of CC.

@gorzelinski
Copy link
Contributor Author

Please add tests to cover proposed solution and to make 100% of CC.

I fixed the solution with the help of Kuba, and I am working on it :)

@gorzelinski
Copy link
Contributor Author

The added test passes, but it's probably a false positive. I feel like I did something wrong with emulating clicking backspace, but I'm unsure what. It doesn't help that I found many ways to do that in our tests. Could you take a look in your free time? @pszczesniak

@gorzelinski gorzelinski changed the title Fix: Nested editable on Safari. Fix: Nested editable. Feb 18, 2025
Mati365
Mati365 previously approved these changes Feb 18, 2025
pszczesniak
pszczesniak previously approved these changes Feb 19, 2025
@gorzelinski gorzelinski dismissed stale reviews from pszczesniak and Mati365 via f27c9a3 February 19, 2025 07:38
@gorzelinski gorzelinski merged commit 1ef174c into master Feb 19, 2025
9 checks passed
@gorzelinski gorzelinski deleted the ck/17383 branch February 19, 2025 11:21
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.

Deleting an empty block at the beginning of an editable block widget removes itself and parent widget
4 participants