Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using CKEditor and want to align text but how to do this?
In HTML elements and attributes i have this:
p[align<center?justify?left?right],
and in Style properties i checked:
text-align
text-decoration
When i look at the source code:
<p class="rteright">
Lorem ipsum ...</p>
In Rules for Class Names and i think that's the problem, i have nothing. What do i write in Rules for Class Names, because i don't know?
Comments
Comment #1
CFW CreditAttribution: CFW commentedI forgot to mention that i also have checked in Style properties all margin and padding settings.
Comment #2
CFW CreditAttribution: CFW commentedI think i found the solution.
Now i can align my text. Can someone tell me if this is a right setup?
Comment #3
Dr Trichome CreditAttribution: Dr Trichome commented@CFW,
Thank you for this solution. I had the same problem and this fixed it. BTW, it looks correct to me, but I am not an expert on input filters.
Comment #4
JKingsnorth CreditAttribution: JKingsnorth commentedThis issue is long-since fixed.