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

feat: Table cell/column widths in API #856

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jun 16, 2024

  1. feat: persist table resize

    When resizing a table, prosemirror changes the colgroup's col widths without transmitting this data to the table nodes. This is related to [this issue](#655). The fix consists of listening to the mouse up event and checking for a change in any of the columns from prosemirror. If there is a change that should affect a cell, we update the cells of the table. This will re-render the table. We persist the width information in a property for the node. Thus we had to change the typing of cell contents.
    halimt92 committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    92214ab View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Simplified code

    matthewlipski committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6926875 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7cddea View commit details
    Browse the repository at this point in the history
  3. Updated docs

    matthewlipski committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c6a0229 View commit details
    Browse the repository at this point in the history