Automattic / Automattic/isolated-block-editor

Collab undo history and lists

Open
#137 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Collaboration bug
Dominant language
CSS
Stars
409
Forks
66
PR merge metrics
No merged PRs in 30d

Description

There seems to be a problem with undo history and lists. To reproduce:

- With collab mode enabled (you don't need a peer), create a list
![image](https://user-images.githubusercontent.com/1277682/166935087-48ce3d9d-2305-4511-ae62-67550fa964e9.png)
- On the last line press enter to escape out of the list
![image](https://user-images.githubusercontent.com/1277682/166935120-ac13b474-df23-4505-a85d-705475aea8fa.png)
- Type some characters slowly so they each get an undo history event
![image](https://user-images.githubusercontent.com/1277682/166935193-b396c1dc-2031-4e01-8ad5-92ed391de89d.png)
- Undo each character and undo back into the list. When you transition from the paragraph to the list the selection point disappears and you have lost your redo history
![image](https://user-images.githubusercontent.com/1277682/166935262-35dcbe9a-aff7-4186-b6cf-ff165cf4b396.png)

I'll note that sometimes, depending on a situation I don't understand, I am able to briefly get undo or redo to work. However, it then goes into another situation I don't understand and stops working.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. First reproduce the issue with collab mode enabled by creating and exiting a list, typing characters slowly, and undoing back into the list; done means the selection point remains available and redo history is preserved through that transition.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.