adopted the ckeditor plugin to fit our needs