[GH-ISSUE #7005] [Bug] The problem that the table created in the old version cannot be displayed #3096

Closed
opened 2026-03-23 21:27:34 +00:00 by mirror · 3 comments
Owner

Originally created by @smartyhero on GitHub (Dec 18, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7005

Bug Description

image

The table created a long time ago cannot be displayed. It has been going on for a long time. It still cannot be displayed after upgrading to 0.7.8

copy block content:

{
    "type": "table",
    "children": [
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "name"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 43,
                "rowPosition": 0,
                "colPosition": 0,
                "width": 212.796875
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "garage"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 212.796875,
                "colPosition": 0,
                "height": 104,
                "rowPosition": 1
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "lego"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 88,
                "width": 212.796875,
                "rowPosition": 2,
                "colPosition": 0
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "gcc"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 85,
                "colPosition": 0,
                "rowPosition": 3,
                "width": 212.796875
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "cmake"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "rowPosition": 4,
                "colPosition": 0,
                "width": 212.796875,
                "height": 88
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "height": 139,
                "rowPosition": 5,
                "colPosition": 0,
                "width": 93.53515625
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "teleport"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 212.796875,
                "height": 139,
                "colPosition": 0,
                "rowPosition": 5
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "orchestrator"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "colPosition": 0,
                "width": 212.796875,
                "height": 139,
                "rowPosition": 6
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "gh-ost"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "colPosition": 0,
                "height": 139,
                "rowPosition": 7,
                "width": 212.796875
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "schemadiff"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 212.796875,
                "colPosition": 0,
                "rowPosition": 8,
                "height": 88
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "url"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "colPosition": 1,
                "rowPosition": 0,
                "width": 847.0703125,
                "height": 43
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://garagehq.deuxfleurs.fr/"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "colPosition": 1,
                "width": 847.0703125,
                "rowPosition": 1,
                "height": 104
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://go-acme.github.io/lego/"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "rowPosition": 2,
                "colPosition": 1,
                "width": 847.0703125,
                "height": 88
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://gfortran.meteodat.ch/download/x86_64/releases/"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "height": 85,
                "width": 847.0703125,
                "colPosition": 1,
                "rowPosition": 3
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://cmake.org/files/v3.1/"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "width": 847.0703125,
                "rowPosition": 4,
                "height": 88,
                "colPosition": 1
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "colPosition": 1,
                "rowPosition": 5,
                "height": 139,
                "width": 847.0703125
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://github.com/gravitational/teleport.git"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "rowPosition": 6,
                "colPosition": 1,
                "width": 847.0703125,
                "height": 139
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://github.com/openark/orchestrator"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "colPosition": 1,
                "height": 139,
                "rowPosition": 6,
                "width": 847.0703125
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://github.com/github/gh-ost"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "rowPosition": 7,
                "height": 139,
                "colPosition": 1,
                "width": 847.0703125
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "link_preview",
                    "data": {
                        "url": "https://github.com/planetscale/schemadiff"
                    }
                },
                {
                    "type": "paragraph",
                    "data": {
                        "delta": []
                    }
                }
            ],
            "data": {
                "width": 847.0703125,
                "height": 88,
                "rowPosition": 8,
                "colPosition": 1
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "介绍"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "rowPosition": 0,
                "width": 304.3125,
                "height": 43,
                "colPosition": 2
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "用rust写的, 开源的对象存储"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 304.3125,
                "rowPosition": 1,
                "height": 104,
                "colPosition": 2
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "免费申请域名证书"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 88,
                "width": 304.3125,
                "colPosition": 2,
                "rowPosition": 2
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "预编译好的gcc,依赖glibc2.14"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 85,
                "colPosition": 2,
                "rowPosition": 3,
                "width": 304.3125
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "cmake预编译二进制文件"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "rowPosition": 4,
                "height": 88,
                "colPosition": 2,
                "width": 304.3125
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "堡垒机"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 139,
                "width": 304.3125,
                "colPosition": 2,
                "rowPosition": 6
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "MySQL高可用工具"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 304.3125,
                "colPosition": 2,
                "height": 139,
                "rowPosition": 6
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "在线修改MySQL schema工具"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "width": 304.3125,
                "rowPosition": 7,
                "height": 139,
                "colPosition": 2
            }
        },
        {
            "type": "table/cell",
            "children": [
                {
                    "type": "paragraph",
                    "data": {
                        "delta": [
                            {
                                "insert": "大牛写的schemadiff, 和我自己的一样, 都是用的vitess的库"
                            }
                        ]
                    }
                }
            ],
            "data": {
                "height": 88,
                "width": 304.3125,
                "rowPosition": 8,
                "colPosition": 2
            }
        }
    ],
    "data": {
        "rowsLen": 9,
        "rowDefaultHeight": 40,
        "colMinimumWidth": 40,
        "colsLen": 3,
        "colDefaultWidth": 80,
        "colsHeight": 933
    }
}

How to Reproduce

I don't know how to reproduce

Expected Behavior

The table created previously can be displayed normally

Operating System

mac

AppFlowy Version(s)

0.7.8

Screenshots

No response

Additional Context

No response

Originally created by @smartyhero on GitHub (Dec 18, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7005 ### Bug Description ![image](https://github.com/user-attachments/assets/38516d9e-80ce-4c5b-b15f-974add1994ab) The table created a long time ago cannot be displayed. It has been going on for a long time. It still cannot be displayed after upgrading to 0.7.8 copy block content: ```json { "type": "table", "children": [ { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "name" } ] } } ], "data": { "height": 43, "rowPosition": 0, "colPosition": 0, "width": 212.796875 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "garage" } ] } } ], "data": { "width": 212.796875, "colPosition": 0, "height": 104, "rowPosition": 1 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "lego" } ] } } ], "data": { "height": 88, "width": 212.796875, "rowPosition": 2, "colPosition": 0 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "gcc" } ] } } ], "data": { "height": 85, "colPosition": 0, "rowPosition": 3, "width": 212.796875 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "cmake" } ] } } ], "data": { "rowPosition": 4, "colPosition": 0, "width": 212.796875, "height": 88 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [] } } ], "data": { "height": 139, "rowPosition": 5, "colPosition": 0, "width": 93.53515625 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "teleport" } ] } } ], "data": { "width": 212.796875, "height": 139, "colPosition": 0, "rowPosition": 5 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "orchestrator" } ] } } ], "data": { "colPosition": 0, "width": 212.796875, "height": 139, "rowPosition": 6 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "gh-ost" } ] } } ], "data": { "colPosition": 0, "height": 139, "rowPosition": 7, "width": 212.796875 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "schemadiff" } ] } } ], "data": { "width": 212.796875, "colPosition": 0, "rowPosition": 8, "height": 88 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "url" } ] } } ], "data": { "colPosition": 1, "rowPosition": 0, "width": 847.0703125, "height": 43 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://garagehq.deuxfleurs.fr/" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "colPosition": 1, "width": 847.0703125, "rowPosition": 1, "height": 104 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://go-acme.github.io/lego/" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "rowPosition": 2, "colPosition": 1, "width": 847.0703125, "height": 88 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://gfortran.meteodat.ch/download/x86_64/releases/" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "height": 85, "width": 847.0703125, "colPosition": 1, "rowPosition": 3 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://cmake.org/files/v3.1/" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "width": 847.0703125, "rowPosition": 4, "height": 88, "colPosition": 1 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [] } } ], "data": { "colPosition": 1, "rowPosition": 5, "height": 139, "width": 847.0703125 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://github.com/gravitational/teleport.git" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "rowPosition": 6, "colPosition": 1, "width": 847.0703125, "height": 139 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://github.com/openark/orchestrator" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "colPosition": 1, "height": 139, "rowPosition": 6, "width": 847.0703125 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://github.com/github/gh-ost" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "rowPosition": 7, "height": 139, "colPosition": 1, "width": 847.0703125 } }, { "type": "table/cell", "children": [ { "type": "link_preview", "data": { "url": "https://github.com/planetscale/schemadiff" } }, { "type": "paragraph", "data": { "delta": [] } } ], "data": { "width": 847.0703125, "height": 88, "rowPosition": 8, "colPosition": 1 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "介绍" } ] } } ], "data": { "rowPosition": 0, "width": 304.3125, "height": 43, "colPosition": 2 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "用rust写的, 开源的对象存储" } ] } } ], "data": { "width": 304.3125, "rowPosition": 1, "height": 104, "colPosition": 2 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "免费申请域名证书" } ] } } ], "data": { "height": 88, "width": 304.3125, "colPosition": 2, "rowPosition": 2 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "预编译好的gcc,依赖glibc2.14" } ] } } ], "data": { "height": 85, "colPosition": 2, "rowPosition": 3, "width": 304.3125 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "cmake预编译二进制文件" } ] } } ], "data": { "rowPosition": 4, "height": 88, "colPosition": 2, "width": 304.3125 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "堡垒机" } ] } } ], "data": { "height": 139, "width": 304.3125, "colPosition": 2, "rowPosition": 6 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "MySQL高可用工具" } ] } } ], "data": { "width": 304.3125, "colPosition": 2, "height": 139, "rowPosition": 6 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "在线修改MySQL schema工具" } ] } } ], "data": { "width": 304.3125, "rowPosition": 7, "height": 139, "colPosition": 2 } }, { "type": "table/cell", "children": [ { "type": "paragraph", "data": { "delta": [ { "insert": "大牛写的schemadiff, 和我自己的一样, 都是用的vitess的库" } ] } } ], "data": { "height": 88, "width": 304.3125, "rowPosition": 8, "colPosition": 2 } } ], "data": { "rowsLen": 9, "rowDefaultHeight": 40, "colMinimumWidth": 40, "colsLen": 3, "colDefaultWidth": 80, "colsHeight": 933 } } ``` ### How to Reproduce I don't know how to reproduce ### Expected Behavior The table created previously can be displayed normally ### Operating System mac ### AppFlowy Version(s) 0.7.8 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Dec 18, 2024):

Hi, @smartyhero. I'll recover your table data from the json and send the .md file here. You can import it into AppFlowy to restore your data.

updated: 7005.md

Screenshot 2024-12-18 at 16 42 47
<!-- gh-comment-id:2550564360 --> @LucasXu0 commented on GitHub (Dec 18, 2024): Hi, @smartyhero. I'll recover your table data from the json and send the `.md` file here. You can import it into AppFlowy to restore your data. updated: [7005.md](https://github.com/user-attachments/files/18177442/7005.md) <img width="442" alt="Screenshot 2024-12-18 at 16 42 47" src="https://github.com/user-attachments/assets/313012f2-e486-42dd-8b69-9816058d5c21" />
Author
Owner

@smartyhero commented on GitHub (Dec 18, 2024):

@LucasXu0 I can view my table normally, but I have a new problem now, that is, I can't copy this table block to other documents. This may be a new feature, but it's not important. Thank you for your support.

<!-- gh-comment-id:2550943620 --> @smartyhero commented on GitHub (Dec 18, 2024): @LucasXu0 I can view my table normally, but I have a new problem now, that is, I can't copy this table block to other documents. This may be a new feature, but it's not important. Thank you for your support.
Author
Owner

@LucasXu0 commented on GitHub (Dec 19, 2024):

@smartyhero You can select the table by pressing Command+A and then paste it into the document you want.

<!-- gh-comment-id:2552596150 --> @LucasXu0 commented on GitHub (Dec 19, 2024): @smartyhero You can select the table by pressing `Command+A` and then paste it into the document you want.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3096
No description provided.