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

Unexpected behavior in splitting cells in certain tables #14658

Closed
mabryl opened this issue Jul 25, 2023 · 3 comments · Fixed by #16733
Closed

Unexpected behavior in splitting cells in certain tables #14658

mabryl opened this issue Jul 25, 2023 · 3 comments · Fixed by #16733
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. package:table squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@mabryl
Copy link
Contributor

mabryl commented Jul 25, 2023

📝 Provide detailed reproduction steps (if any)

  1. Pass the HTML attached to this issue to create a table with a certain layout or create one from scratch that resembles the one that you can see in the recording in Actual result
  2. Try splitting the cell on the left side

✔️ Expected result

The cell should probably split in two, as is the case in CKE4:

cke4_split.mov

❌ Actual result

The cell splits into multiple ones. The structure of the table is further altered and an additional column gets inserted on the right:

cke5_split.mov

❓ Possible solution

It might have something to do with the number of cells to the right of the cell that is being split. The smallest possible table configuration that reproduces this issue needs 7 rows and two columns. Notice that the issue doesn't appear when there are 6 rows:

6_7_rows_split.mov

📃 Other details

  • Browser: cross-browser
  • OS: cross-OS

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

table_example.html.zip

@mabryl mabryl added type:bug This issue reports a buggy (incorrect) behavior. package:table support:2 An issue reported by a commercially licensed client. squad:core Issue to be handled by the Core team. labels Jul 25, 2023
@Witoso Witoso added the domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. label Jul 31, 2023
@Witoso
Copy link
Member

Witoso commented Jul 31, 2023

Probably some rounding issue.

@108signals
Copy link

@Witoso do you have any update on this issue? Our users are experiencing this fairly often as they use/paste complex tables. Also have a formal ticket on this #88562

@Witoso
Copy link
Member

Witoso commented Mar 7, 2024

Thanks for the question! We haven't started the investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:v4-compatibility This issue reports a CKEditor 4 feature/option that's missing in CKEditor 5. package:table squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants