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

Bug: TableComponent exception when selecting multiple cell inputs #3862

Open
Croc-ye opened this issue Dec 17, 2024 · 2 comments
Open

Bug: TableComponent exception when selecting multiple cell inputs #3862

Croc-ye opened this issue Dec 17, 2024 · 2 comments
Labels
bug Something isn't working ime plugin:table Tables

Comments

@Croc-ye
Copy link

Croc-ye commented Dec 17, 2024

Description

When multiple cells are selected in the table component, using the Chinese input method to input will cause the cell DOM structure to be incorrect
企业微信截图_d72853e5-1bba-4d96-b89e-4ce89500b701
企业微信截图_f430f3f7-8c76-4753-b1e1-8b5cf9915af4

Reproduction URL

No response

Reproduction steps

1. Go to 'https://platejs.org/'
2. Click on 'Table'
3. select multiple cells 
4. Use Chinese input method or other input method that triggers onCompositionStart event
5. error happened

Plate version

40.3.4

Slate React version

0.112.0

Screenshots

No response

Logs

No response

Browsers

Chrome

@Croc-ye Croc-ye added the bug Something isn't working label Dec 17, 2024
@Croc-ye Croc-ye changed the title Bug: TableComponent Bug: TableComponent exception when selecting multiple cell inputs Dec 17, 2024
@Croc-ye
Copy link
Author

Croc-ye commented Dec 20, 2024

Hi
I have found a solution to the issue. I will submit a pull request later to address this problem.

@zbeyens
Copy link
Member

zbeyens commented Dec 20, 2024

Thanks @Croc-ye

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

No branches or pull requests

3 participants