How to make blocktext taking full width of its parent container

Hi Folks, I’m facing a layout problem. I’m trying to achieve that paragraph text is stretching to the full width of the container. it’s possible in Layout programs like Indesign, with huge space in beween the words.

Thank you Appreciate any hints and tips :)

Are you looking for align: justify?

1 Like

Thanks – Yes, but also the last line of text in the paragraph

The CSS rule you want is text-align-last: justify and you can add this as a custom property.

In my example here I’m targeting all paragraphs inside of a specific rich text block class.

Thanks @memetican – this helps me a lot!

1 Like