AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.2k stars 3.75k forks source link

[Bug] duplicate a doc with an inline grid #5866

Open annieappflowy opened 2 months ago

annieappflowy commented 2 months ago

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