Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Aug 17, 2011 @ 15:15
    Matt Taylor
    0

    Tiny MCE styles with divs and ids

    I've been playing around with editor styles and it seems that if I want to create a style to be used in TinyMCE that will generate the following markup

    <h3 class="special">My Heading</h3>

    I have to create a style with alias 'h3'
    and
    a style with alias '.special'

    and have the user apply them one after the other.

    Is there some way of combining them into one action?

    Also, is there a way of applying an id to a tag?
    I know you can enclose a section in a div if you create a style with alias 'div' but cannot see how to add an id to it.

    Thanks,

    Matt

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies