Skip to content

extradoc: editing text inside a list item fragments the list on push #66

@sripathikrishnan

Description

@sripathikrishnan

Bug

Editing the text content of a single numbered-list item causes the list to fragment on push. The edited item switches from numbered to bulleted, and subsequent items restart numbering.

Repro

Document: 1YKyqqH8wZa3kSnoBEdlwAumI94gRivSsZB1qvc9y4CA (sample3, Tab 1).

Pulled list:

1. Headings
2. Lists
3. Links
4. Images
5. Tables

Edit only the text of item 4: ImagesImages and Figures. Push. Re-pull:

1. Headings
2. Lists
3. Links
- Images and Figures     ← became a bullet
1. Tables                ← numbering restarted at 1

Expected

Since only the text of an existing list item changed, the push should emit a simple paragraph-text edit (delete + insert within the item), leaving list structure untouched. No list operations (createParagraphBullets / bullet preset changes) should be generated.

Notes

  • Other edits in the same push (plain paragraphs, simple table cells, HTML table cells) round-tripped cleanly — the bug is specific to in-place text edits of list items.
  • Found during QA of the pull/push workflow on 2026-04-10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions