Comfy-Org / Comfy-Org/ComfyUI_frontend

[question] What is the undo sequence?

Open
#4,108 5 comments 0 reactions 0 assignees View on GitHub
developer experience documentation
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

Hi,

I'm working back on note+ (I finally pushed a fix yesterday):

![Image](https://github.com/user-attachments/assets/1e23f7b9-c513-4e87-96ee-b8e1542df86e)

And I don't really understand how **undo** "works" on the frontend and if we can "subscribe" to it?

I just got a report (no time to test it properly yet) about the DOM used for rendering the markdown disappearing on undo and recall seeing a "tick" update on each nodes when issuing undo which made me wonder about the whole system and if custom nodes could/should care

Thanks

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4108-question-What-is-the-undo-sequence-20c6d73d365081e38fcefa550d8bf0a5) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.