Clearing Undo button history YUI text editor

I'm working with a YUI Text Editor and I need to clear the undo button's stack. When the editor initially loads, the text area is blank. I then use a RESTful service GET and I fill in this text box. The editor takes this as a 'change' and the undo button will activate. i don't want this to happen. I can disable the undo button, but when i toggle in and out of a source edit, it'll pop up again. I want to clear history of the undo and start it up when i set the text area.


1 Reply

Recent Posts

in General Discussion at YDN