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

CoreTable column alignment returns null #239

Open
brysonchiu opened this issue May 9, 2024 · 1 comment
Open

CoreTable column alignment returns null #239

brysonchiu opened this issue May 9, 2024 · 1 comment
Labels
help wanted Extra attention is needed Needs Reproduction

Comments

@brysonchiu
Copy link

brysonchiu commented May 9, 2024

The core table block is returning null values for cell alignment even when it is set. The cell alignment is instead set by the whole table alignment. This seems like a mistake.

Steps to reproduce

  1. Add a core table into a page and adjust the alignment on a column (not the alignment of the table).
  2. Add this into your page query:
    editorBlocks {
      ... on CoreTable {
        attributes {
          body {
            cells {
              align
            }
          }
          foot {
            cells {
              align
            }
          }
          head {
            cells {
              align
            }
          }
        }
      }
    }
@theodesp theodesp added help wanted Extra attention is needed Needs Reproduction labels May 10, 2024
@phillubliner
Copy link

phillubliner commented May 16, 2024

Can also add to this that we are seeing all of our CoreTable cell values return null. Most concerning, content returns null even though I can confirm we have content in all of our test body cells.

"body": [
              {
                "cells": [
                  {
                    "align": null,
                    "colspan": null,
                    "content": null,
                    "rowspan": null,
                    "scope": null
                  },
                  {
                    "align": null,
                    "colspan": null,
                    "content": null,
                    "rowspan": null,
                    "scope": null
                  }
                ]
              },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Needs Reproduction
Projects
None yet
Development

No branches or pull requests

3 participants