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

Splitting cells should maintain the current edit state #236507

Merged
merged 3 commits into from
Dec 18, 2024
Merged

Conversation

Yoyokrazy
Copy link
Contributor

Fixes: #208673

This seems reasonable, as when you're splitting a cell, 99% of the time you would be in editing mode and likely would want to continue editing. We still split into preview mode if the cell being split was initially in preview mode. This effectively means that we are just splitting into the same mode as the cell was intially in.

cc/ @rebornix to check if there is a specific reason we have been always splitting md cells into preview mode.

@Yoyokrazy Yoyokrazy self-assigned this Dec 18, 2024
@Yoyokrazy Yoyokrazy requested a review from rebornix December 18, 2024 18:34
@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Dec 18, 2024
@Yoyokrazy Yoyokrazy changed the title Splitting cells should leave second cell in editing mode Splitting cells should maintain the current edit state Dec 18, 2024
@rebornix rebornix enabled auto-merge (squash) December 18, 2024 18:47
@rebornix rebornix merged commit d6d5ebe into main Dec 18, 2024
8 checks passed
@rebornix rebornix deleted the lively-toad branch December 18, 2024 18:49
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.

Splitting a cell can show an empty markdown cell message
2 participants