Line 1: | Line 1: | ||
== IndentClasses == | == IndentClasses == | ||
− | FCKeditor allows the use of CSS classes for block indentation. The class should be defined in the [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/EditorAreaCSS|EditorAreaCSS]] file | + | FCKeditor allows the use of CSS classes for block indentation. The class should be defined in the [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/EditorAreaCSS|EditorAreaCSS]] file: |
<pre>.Indent1 | <pre>.Indent1 | ||
{ | { |
Latest revision as of 15:01, 15 January 2008
IndentClasses
FCKeditor allows the use of CSS classes for block indentation. The class should be defined in the EditorAreaCSS file:
.Indent1 { margin-left: 40px; } .Indent2 { margin-left: 80px; } .Indent3 { margin-left: 120px; }
We apply the class to the IndentClass option:
FCKConfig.IndentClasses = [ 'Indent1', 'Indent2', 'Indent3' ] ;
NOTE: If you use this option the settings of IndentLength and the IndentUnit will be override.