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

editor.getData() returns invalid table in specific case #17556

Closed
kubaklatt opened this issue Nov 28, 2024 · 3 comments · Fixed by #17640
Closed

editor.getData() returns invalid table in specific case #17556

kubaklatt opened this issue Nov 28, 2024 · 3 comments · Fixed by #17640
Assignees
Labels
package:table support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.
Milestone

Comments

@kubaklatt
Copy link

kubaklatt commented Nov 28, 2024

📝 Provide detailed reproduction steps (if any)

  1. Open for example https://ckeditor.com/docs/ckeditor5/latest/examples/builds-custom/full-featured-editor.html
  2. Create a 4x3 table
  3. Merge cells from the second row and second column to the third row of the third column
  4. Set the first column as the header
  5. Use editor.getData() to extract HTML
  6. Use editor.setData() to implement the table into the editor

✔️ Expected result

editor.getData() returns a valid table without additional columns and rows

❌ Actual result

editor.getData() returns a table with additional columns and rows

Screen.Recording.2024-11-28.at.15.15.10.mov

📃 Other details

  • Browser: Any
  • OS: Any
  • First affected CKEditor version: 37.0.0-alpha.1
  • Installed CKEditor plugins: …

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

@kubaklatt kubaklatt added package:table type:bug This issue reports a buggy (incorrect) behavior. labels Nov 28, 2024
@Witoso
Copy link
Member

Witoso commented Nov 28, 2024

Could you check if this is a recent regression?

@martynawierzbicka martynawierzbicka added the support:2 An issue reported by a commercially licensed client. label Nov 28, 2024
@kubaklatt
Copy link
Author

@Witoso I managed to locate that the problem started occurring from 37.0.0-alpha.1

@Witoso
Copy link
Member

Witoso commented Dec 12, 2024

Possibly a dup of #17404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:table 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.

5 participants