ChatGPT Conversation Action

Undo is a function of the editor. If you want changes you make to participate in the undo stack, do not use functions on the draft object to make modifications. Use the related methods on the editor object to manipulate the text, and those changes will participate in the undo system.

2 Likes