Skip to content

Footnote numbers are incorrect when paragraphs are deleted and undone. #60050

@torounit

Description

@torounit

Description

Footnote numbers are incorrect when paragraphs are deleted and undone.

Step-by-step reproduction instructions

  1. Set footnotes for each of several paragraphs.
  2. Delete the first paragraph.
  3. Undo.

Screenshots, screen recording, code snippet

2024-03-21.2.37.27.mov

Environment info

  • WordPress 6.4.3
  • Enable and disable Gutenberg 17.9.0

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] FootnotesAffects the Footnotes Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions