JustifyClasses

JustifyClasses

FCKeditor allows the use of CSS classes for justifying the text. The class should be defined in the EditorAreaCSS file:

.JustifyLeft
{
	text-align: left;
}

.JustifyRight
{
	text-align: right;
}

.JustifyCenter
{
	text-align: center;
}

.JustifyFull
{
	text-align: justify;
}

We apply the class to the IndentClass option:

FCKConfig.JustifyClasses = [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull' ] ;
This page was last modified on 15 January 2008, at 14:00.