Adding a rich-text editor for WYSIWYG editing