The Justfy Full Button is not working. HTML generates "<p class="justifyfull">". This class is not working.
-
☆ 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.)
I usualy do "justfyfull" and "justifyright" by editing the HTML source, but i think, there must be a better way.
-
☆ 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