WordPress.org

Ready to get started?Download WordPress

Forums

TinyMCE formatselect: add new item with css-class applied? (1 post)

  1. hquadrat
    Member
    Posted 5 years ago #

    Hello all,

    I really like TinyMCE with WordPress, it's fast and nice, but how I can add

    theme_advanced_blockformats:"p,p class=\"someclass\",h2,h3,h4"

    the <p class="someclass"> to the formatselect dropdown?

    I just can't find the correct syntax to make it work, other posts in the forum do not seem to cover this kind of extension. If this solution is not possible, is there another way?

    Thanks for any help,

    Henning

    P.S.: I know which files to edit and how to empty the cache, it's just the syntax

Topic Closed

This topic has been closed to new replies.

About this Topic