-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Bug Description
When I type a text and select it then press backtikc key three times, the expectation is to wrap the text into code block, instead the text is gone. Then I press Ctrl + Z to undo and get the text back.
But if I go to another page and come back to the first one. The empty code block is back and the text is gone.
How to Reproduce
Write a text and select the whole block, then type triple backticks fast ``` to turn it into a Code block
- Text dissapears.
Press Ctrl+Z to undo, to restore the text, and go to another document and come back here.
- The empty Code block is visible instead of the text.
Expected Behavior
Write a text and select the whole block, then type triple backticks fast ``` to turn it into a Code block
- Text is now inside the code block.
Press Ctrl+Z to undo, to restore the text, and go to another document and come back here.
- The text is still there and visible.
Operating System
Windows
AppFlowy Version(s)
v0.8.9
Screenshots
29.04.2025_10.03.58.mp4
Additional Context
No response