We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11858
    • 130 Posts
    I would like to have something like this:

    <blockquote class="left">
    <p>text here</p>
    </blockquote>
    

    and
    <blockquote class="right">
    <p>text here</p>
    </blockquote>
    


    so I could have multiple styles of blockquotes, specifically one on the left or right hand side of the page. I’m sure it’s pretty simple, but google comes up empty. How can I achieve this within the format drop down in TinyMCE so that content editors can easily select what side they would like it on? Thanks!
      • 20288
      • 132 Posts
      In your stylesheet, you need to create those styles (blockquote.left , blockquote.right) and whatever attributes you want. In your MODx settings, you need to tell TinyMCE to show those styles in the drop down:

      In the System > System Settings page, find the ’Filter by area...’ dropdown. Change ’core’ to ’tinymce’ and look for the css selectors settings. Add your styles there.