Skip to content

Fix incorrect move of table row containing only th elements to thead if previous row was not header row (v47.x)#19448

Merged
Mati365 merged 1 commit intock/feat/table-cell-type-v47from
ck/19431
Nov 26, 2025
Merged

Fix incorrect move of table row containing only th elements to thead if previous row was not header row (v47.x)#19448
Mati365 merged 1 commit intock/feat/table-cell-type-v47from
ck/19431

Conversation

@Mati365
Copy link
Member

@Mati365 Mati365 commented Nov 26, 2025

🚀 Summary

Fix incorrect move of table row containing only th elements to thead if previous row was not header row.
It's change for v47 version of the editor.


📌 Related issues

@Mati365 Mati365 requested a review from pszczesniak November 26, 2025 12:02
@Mati365 Mati365 changed the title Fix incorrect move of table row containing only th elements to thead if previous row was not header row. Fix incorrect move of table row containing only th elements to thead if previous row was not header row (v47.x) Nov 26, 2025
Copy link
Contributor

@pszczesniak pszczesniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Just one thing to consider.

* @internal
*/
export function upcastTable() {
export function upcastTable( editor: Editor ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe would be good to pass only the config flag value with default set to false instead of editor instance?

This function Is re-exported as an internal function but maybe we can add a fallback for the parameter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, it will be removed in v48.

@Mati365 Mati365 merged commit 188d5b4 into ck/feat/table-cell-type-v47 Nov 26, 2025
9 checks passed
@Mati365 Mati365 deleted the ck/19431 branch November 26, 2025 14:12
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.

2 participants

Comments