[GH-ISSUE #7585] [Bug] Changing a block type to Page or Toggle Heading and undoing it results in child blocks disappearing #3362

Closed
opened 2026-03-23 21:29:34 +00:00 by mirror · 0 comments
Owner

Originally created by @WagnerGFX on GitHub (Mar 22, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7585

Originally assigned to: @asjqkkkk on GitHub.

Bug Description

Turning into other block types seem to still work fine.

How to Reproduce

  1. Create the text:

    1. Create a normal text block.
    2. Create a second text block and use tab to make it into a child of the first one.
  2. Use "turn into" from the left handle or right click menu

    • Option A: Into a Page
    • Option B: Into any Toggle Heading
  3. Undo with CTRL+Z. Both options make the second text block disappear

Converting a Toggle Heading from one level to another and undoing will also delete its internal text.

Expected Behavior

Undoing text transformations should return all blocks to their previous state, children included.

Operating System

Window 10

AppFlowy Version(s)

0.8.7

Screenshots

No response

Additional Context

No response

Originally created by @WagnerGFX on GitHub (Mar 22, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7585 Originally assigned to: @asjqkkkk on GitHub. ### Bug Description Turning into other block types seem to still work fine. ### How to Reproduce 1) Create the text: 1) Create a normal text block. 2) Create a second text block and use tab to make it into a child of the first one. 2) Use "turn into" from the left handle or right click menu - Option A: Into a Page - Option B: Into any Toggle Heading 3) Undo with CTRL+Z. Both options make the second text block disappear Converting a Toggle Heading from one level to another and undoing will also delete its internal text. ### Expected Behavior Undoing text transformations should return all blocks to their previous state, children included. ### Operating System Window 10 ### AppFlowy Version(s) 0.8.7 ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 21:29:34 +00:00
  • closed this issue
  • added the
    editor
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3362
No description provided.