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

columns bugs #3642

Open
hongnny opened this issue Oct 17, 2024 · 2 comments
Open

columns bugs #3642

hongnny opened this issue Oct 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hongnny
Copy link

hongnny commented Oct 17, 2024

Description

2024-10-17.17.09.45.mov

About the columns bug

After I created the columns, I entered the content in each column, and then selected it with ctrl+a, and deleted it with the keyboard backspace. At this time, there was only one column left, and the function on the toolbar was invalid.

After reading the code, it seems that the layout and children in the data do not match, and the nornalize method does not handle this situation.

Or, the layout data is not corrected when deleting

Reproduction URL

No response

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Plate version

36.0.6

Slate React version

18.3.1

Screenshots

No response

Logs

No response

Browsers

No response

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@hongnny hongnny added the bug Something isn't working label Oct 17, 2024
@sakshikale14
Copy link
Contributor

@hongnny should ctrl+a even be selecting both the columns as opposed to just the focused one?

@hongnny
Copy link
Author

hongnny commented Oct 18, 2024

@sakshikale14 If the cursor is in columns, ctrl+a selects the entire column. This is normal operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants