Forums

predefined classes TinyMCE (4 posts)

  1. pieterg
    Member
    Posted 3 years ago #

    Hello everybody. I'm very pleased with the first experiences with wordpress. I've just implemented my second website and I'm very positive about it.

    For the TinyMCE editor, I am searching for a way to change the predefined classes (like the headers) that you can select in the select box. I can't find any file that should do this.

    I hope you can help. thanks

  2. stvwlf
    Member
    Posted 3 years ago #

    take a look at the TinyMCE Advanced plugin
    http://wordpress.org/extend/plugins/tinymce-advanced/

  3. pieterg
    Member
    Posted 3 years ago #

    hi stvwlf,

    thanx for your reply. I tried the advanced tinymce, but it didn't do what i want.

    What I want to change, is the list of classes or styles that you can select in the dropdownbox to format a piece of text:

    Header 1
    Header 2
    Header 3
    Header 4
    ...etc

  4. stvwlf
    Member
    Posted 3 years ago #

    If you go into the control page for TinyMCE Advanced (under Tools) you will see a Style pulldown that you can add to your toolbar. I forget exactly how it works - read the instructions - it can pick up the list of top level classes from your style sheet and add them to the pulldown.

    In other words, it will pick up
    .alignleft

    It will not pick up
    #content .alignleft

Topic Closed

This topic has been closed to new replies.

About this Topic