Trevixal API
    Preparing search index...

    Function measureCellShare

    • How much of its table's width a cell takes on screen, from 0 to 1, or null when it is not rendered.

      A table without set widths is laid out by the browser, from its content, so the document alone cannot say what share a cell has. This reads it from the page, for a split to keep the table looking as it did.

      Parameters

      • editor: Editor

      Returns (cellPath: Path) => number | null