My Feed
Rixbeta
Write
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.

Does the browser have an "undo buffer" api?

Abinav Seelan's photo
Abinav Seelan
ยทFeb 28, 2018

I have a textarea that supports keyboard shortcuts, some of which manipulate the text inside the textarea and change the cursor position. Currently, doing a cmd + z does not correctly undo the last change, but rather undoes the the last thing I typed.

Is there anyway to modify the list of actions to undo, or an implementation that I can build to handle this? ๐Ÿ˜„