[GH-ISSUE #5866] [Bug] duplicate a doc with an inline grid #2604

Open
opened 2026-03-23 21:23:43 +00:00 by mirror · 1 comment
Owner

Originally created by @annieappflowy on GitHub (Aug 2, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5866

Originally assigned to: @appflowy on GitHub.

Bug Description

I duplicated a document with a grid, hoping that I can use the grid from the original as a template, but after doing my edits and returning to the original document I found that the original grid's information changed along with the duplicate's. The data in the original Grid changed to reflect what I inputted in the duplicate, so whatever data I initially had in the original grid was gone too. Thankfully damage was minimal.

How to Reproduce

Create a doc, and create an inline grid, and then fill in a row
Duplicate that doc, and go to the copy, and then fill in the second row
the second row is also filled in in the first doc's inline grid, which shouldn't happen

Expected Behavior

Deep copy of inline grids

Operating System

macOS

AppFlowy Version(s)

v0.6.6

Screenshots

No response

Additional Context

No response

Originally created by @annieappflowy on GitHub (Aug 2, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5866 Originally assigned to: @appflowy on GitHub. ### Bug Description I duplicated a document with a grid, hoping that I can use the grid from the original as a template, but after doing my edits and returning to the original document I found that the original grid's information changed along with the duplicate's. The data in the original Grid changed to reflect what I inputted in the duplicate, so whatever data I initially had in the original grid was gone too. Thankfully damage was minimal. ### How to Reproduce Create a doc, and create an inline grid, and then fill in a row Duplicate that doc, and go to the copy, and then fill in the second row the second row is also filled in in the first doc's inline grid, which shouldn't happen ### Expected Behavior Deep copy of inline grids ### Operating System macOS ### AppFlowy Version(s) v0.6.6 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@cyruseuros commented on GitHub (Nov 10, 2024):

The same thing happens if you duplicate an inline grid within the same document

<!-- gh-comment-id:2466655344 --> @cyruseuros commented on GitHub (Nov 10, 2024): The same thing happens if you duplicate an inline grid within the same document
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#2604
No description provided.