Skip to content

cell width and height are not displayed in delta object after dragging #156

Description

@vvektordev

Hi, thanks for the library, but I've encountered a problem. I used the official sandbox for React from the repository (https://codesandbox.io/p/sandbox/react-quill-wcfghd) for testing. When I change the column width or height, the changes are visible, but the delta object still contains the old data for width. Changes in the delta are only visible if I enter text in the cell, which is inconvenient because I need to create an empty table template in my application. Could you tell me how to fix this? Only two options worked for me: generating a new delta from the HTML after changing the width; and using formatLine for each cell and passing the width attribute to table-cell. Both options seem too hacky to me. Is there another solution?

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions