added listener to update the content of the wysiwyg from the textarea