Hi all,
I'm using FCKEditor but i'm needing more line spacings. Like a double space.
I'm create a new fontformat called div2.
This font format just apply a Style: 'line-height: 200%' with this code.
// Basic Block Styles (Font Format Combo).
'p' : { Element : 'p' }, // Format "Normal"
'div' : { Element : 'div'}, // Format "Normal (DIV)"
'div2' : { Element : 'div',
Styles : { 'line-height' : '200%' },
Overrides : [ { Element : 'div' } ]
}, // Format "Normal (Double Space)"
If i click in the button "select all" i can use the "Normal (Double Space)" and "Normal (DIV)" normally in the Format combo.
But if i select a paragraph and click in "Normal (Double Space)" its work normally when clicked but the name in format combo not refresh. Just appear the main format : 'Normal (DIV)", and i cant click in "Normal (DIV)".
I need click in other format (like h1, h2, etc), the combo refresh to this format and later click in Normal (DIV).
I try change the codes in FCKToolbarFontFormatCombo.prototype.RefreshActiveItems and FCKToolbarFontFormatCombo.prototype.StyleCombo_OnBeforeClick but not work.
Any can help me?
I'm using FCKEditor but i'm needing more line spacings. Like a double space.
I'm create a new fontformat called div2.
This font format just apply a Style: 'line-height: 200%' with this code.
// Basic Block Styles (Font Format Combo).
'p' : { Element : 'p' }, // Format "Normal"
'div' : { Element : 'div'}, // Format "Normal (DIV)"
'div2' : { Element : 'div',
Styles : { 'line-height' : '200%' },
Overrides : [ { Element : 'div' } ]
}, // Format "Normal (Double Space)"
If i click in the button "select all" i can use the "Normal (Double Space)" and "Normal (DIV)" normally in the Format combo.
But if i select a paragraph and click in "Normal (Double Space)" its work normally when clicked but the name in format combo not refresh. Just appear the main format : 'Normal (DIV)", and i cant click in "Normal (DIV)".
I need click in other format (like h1, h2, etc), the combo refresh to this format and later click in Normal (DIV).
I try change the codes in FCKToolbarFontFormatCombo.prototype.RefreshActiveItems and FCKToolbarFontFormatCombo.prototype.StyleCombo_OnBeforeClick but not work.
Any can help me?