Calling save
on every "change"
event should keep the textarea in sync with the editor. I just verified that this works in a simple setup. The problem is thus probably elsewhere. Try to set up a minimal demo page to see where the problem comes from, and if that doesn’t solve your issue, show me the page, so that I can debug it.