integrating mercury gem for wysiwyg editing