textarea undo?

Trying to add undo to a toolbar.

There doesn’t seem to be an undo method for textarea, but there’s copy and paste and it accepts control+z as undo.

Am I missing something?

I can do it manually and subclass it on there, but I’d rather avoid that nest of vipers if possible.

You need to implement this yourself. Here is something older http://www.tempel.org/rb/#undoeditfield that most likely needs some updating.

Thanks, I’ll have a look.

Maybe there a way to fudge a control+z, the textarea already works fine if you hit control+z so the code is in there, there’s just no way to call it.