Is there a tinymce plugin that wraps text inside a tag? Something similar to the formatting option from WYSIWYG SO
I found the answer on this blog. It adds a button to the toolbar and also wraps the selected content. Code formatting can be achieved with prettify