prepare for tinymce editor