Is there any documentation on the exact syntax used in the CoreStyles configuration? I know it is Javascript syntax in general, but what options are available in particular?
I want to modifiy the CoreStyle 'Size' in the following way:
keep the span element and the font-size style, but add an additional line-height style.
The following did this trick (it is assured, that the font-sizes are specified in the px unit... so the following actually works):
Now I want to modify this to have the line-height 3px larger than the font-size (in the current form, they both have the same value). Is there a way to achieve this?
I want to modifiy the CoreStyle 'Size' in the following way:
keep the span element and the font-size style, but add an additional line-height style.
The following did this trick (it is assured, that the font-sizes are specified in the px unit... so the following actually works):
'Size' : { Element : 'span', Styles : { 'font-size' : '#("Size","fontSize")', 'line-height' : '#("Size","fontSize")' }, Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] }
Now I want to modify this to have the line-height 3px larger than the font-size (in the current form, they both have the same value). Is there a way to achieve this?
Re: CoreStyles Syntax
Re: CoreStyles Syntax
Someone should have an answer I suppose?
Re: CoreStyles Syntax