-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] FootnotesAffects the Footnotes BlockAffects the Footnotes Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Following on from #52682, it looks like there's still an issue with footnotes sometimes being counted multiple times. It's a bit edge-casey, but I believe a reliable way to reproduce the issue is:
- Add a Group block to a post
- Add a Quote block within the Group block
- Add a footnote to the paragraph within the Quote block as well as to the Citation of the Quote block
- Notice that the footnote item is duplicated and synced twice:
2023-07-27.16.39.31.mp4
From looking at #52682, I think this might be a result of iterating over inner blocks as well addValuesForBlocks
being called a second time for blocks with InnerBlocks.Content
? CC: @ellatrix, @mcsf, @ramonjd, @tellthemachines
Metadata
Metadata
Assignees
Labels
[Block] FootnotesAffects the Footnotes BlockAffects the Footnotes Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended