We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27942
    • 14 Posts
    The Justfy Full Button is not working. HTML generates "<p class="justifyfull">". This class is not working.
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      I'm not sure justify right works either.

      It also apparently decided to use both a div style and span style for one element that I centered. Huh?

      <h2 class="grid-12" style="text-align: center;"><span style="text-align: center;">


      Revo 2.2.0-pl2

      (quite honestly, this... and other really confusing coding is why I stay away from the rich text editors if at all possible. I really can't deal well with the results after numerous client edits either.)
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 27942
        • 14 Posts
        I usualy do "justfyfull" and "justifyright" by editing the HTML source, but i think, there must be a better way.
          • 10208 ☆ A M B ☆
          • 1,780 Posts
          Better way would be to define a custom class in the css file.

          .text-right {
            text-align: right;
          }
          
          .text-justify {
            text-align: justify;
          }


          and so on...

          Then define your css file in the Rich-Text Editor section of the system settings which will bring the selectors into TinyMCE style dropdown to choose from.

          see: https://forums.modx.com/thread/73224/tinymce-styles#dis-post-407185
            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster