DEV Community

Discussion on: Let's Improve the textarea!

Collapse
siddharthshyniben profile image
Siddharth Author

Yeah, inserting the extra characters messes up the undo tree

Collapse
wintercounter profile image
Victor Vincent

You can fix that by fireing keypress events instead of overwriting values.

Thread Thread
siddharthshyniben profile image
Siddharth Author

Nice tip! Will definitely try it