mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: incorrectly duplicating items on paste/library insert (#6467
* fix: incorrectly duplicating items on paste/library insert * fix: deduplicate element ids on restore * tests
This commit is contained in:
parent
e7e54814e7
commit
f640ddc2aa
6 changed files with 153 additions and 43 deletions
|
@ -13431,7 +13431,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id0_copy",
|
||||
|
@ -13464,7 +13464,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id1_copy",
|
||||
|
@ -13497,7 +13497,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id2_copy",
|
||||
|
@ -13981,7 +13981,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id0_copy",
|
||||
|
@ -14011,7 +14011,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id1_copy",
|
||||
|
@ -14041,7 +14041,7 @@ Object {
|
|||
"boundElements": null,
|
||||
"fillStyle": "hachure",
|
||||
"groupIds": Array [
|
||||
"id6",
|
||||
"id4_copy",
|
||||
],
|
||||
"height": 10,
|
||||
"id": "id2_copy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue