WPCubed Product Support

"full" justification of a single line

How best would i implement full/block justification of a single line of text? If i select it and set the alignment to paralBlock, it doesn't change. if the line flows to a 2nd line, the first line gets justified properly.

but, for example, if i have a single line that doens't fill the page width, i still want to fully block justify it. how can I do this?

Alan

#1 ♥ 0
2.6k Views 2 users read 1 min
support

Use this FormatOptions:

wpJustifySoftLinebreaks, // Justify \n
wpJustifyHardLinebreaks, // Justify \r

#2 ♥ 0
This category is archived. No new posts are possible.