By default an author can select from Paragraph, Address, Preformatted, Heading 1, etc..

As an example I'd like the author to have the ability to visually wrap selected text in a tag, without ever seeing the tag.

Is TinyMCE Advanced the only/best way to go?

2 Answers 2


Assuming that you are using WP 3.2+ and an up-to-date theme, the editor-style.css file should contain the styles for the editor. If you don't have one, just create it in the same place as style.css The style appear in the Styles dropdown not the paragraph type dropdown that you referenced in the question. This does indeed mean that you need to expand the button list using TineMCE advanced or one of the similar plugins (or you can do the configuration yourself in TinyMCE but it seems hardly worth it really).

You can also include all of the styles from your actual theme with:

@import url("style.css");

This makes ALL of the styles available which may be rather overkill & may sometimes make the editor unusable because of style clashes.


I think you have to implement your own TinyMCE plugin, what will allow you to wrap selected text. Read through the following articles, which will give you some basic knowledge in this scope:

  1. TinyMCE
  2. TinyMCE Custom Buttons
  3. Writing a TinyMCE plugin in WordPress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.