Skip to content

Marking header row in tables act not as expected. #17962

@pszczesniak

Description

@pszczesniak

📝 Provide detailed reproduction steps (if any)

  1. Open for example - ckeditor.com/docs/ckeditor5/latest/examples/builds-custom/full-featured-editor.html
  2. Using Source Editing apply this table:
<figure class="table"><table><tbody><tr><td>a</td><td>b</td><td>c</td></tr><tr><td>1</td><td>2</td><td>3</td></tr></tbody></table></figure>
  1. Focus any cell from first row open Row dropdown and click on Header row toggle button.
  2. Click again.

(Chrome version matters - check the Other details section below 👇)

✔️ Expected result

After first click, the focused table row should became a header row, after second click should became a regular one.

❌ Actual result

After first click, the focused table row becomes a header row, but toggle button didnt change his state, after second click the toggle button changed his state also second row is marked as a header row.

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.

📃 Other details

⚠ It was worked ok for example on Chrome v.131, but after installed the newest version (also tested on Canary) it's not work properly anymore. ⚠


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    package:tablesquad:coreIssue to be handled by the Core team.type:bugThis issue reports a buggy (incorrect) behavior.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions