Hello,
I'm currently facing an issue with paragraphs style / format block.
I try to set pre-defined paragraph style in the format block drop down so I add few lines in my toolsFile.xml.
So far everything works great : I have 4 styles I can apply to any text.
I would like my dropdown items to have their own style applied on them but It doesn't work for some css defined classes.
Here's a snippet of my code :
<paragraphs>
<paragraph name="<strong>Normal</strong>" value="<P Class='Al'>" />
<paragraph name="<p Class='Txtrep3'>Niv 1</p>" value="<p Class='Txtrep3'>" />
<paragraph name="<p Class='Txtrep4'>Niv 2</p>" value="<p Class='Txtrep4'>" />
<paragraph name="<p Class='Remarque'>Remarque</p>" value="<p Class='Remarque'>" />
</paragraphs>
(I didn't use the format code block because it was totally unreadable)
So for example the first item "Normal" is well-rendered in the dropdown but others haven't got any style applied on them.
I can't figure out what's wrong as it works well when I want to define a style for any selected text.
Any help would be welcome !
Alexandre.
PS : RadEditor is sometimes acting weird, could It be possibly due to the trial version ? We plan on buying 2 licences and I wish this will solve out those strange behavior.
I'm currently facing an issue with paragraphs style / format block.
I try to set pre-defined paragraph style in the format block drop down so I add few lines in my toolsFile.xml.
So far everything works great : I have 4 styles I can apply to any text.
I would like my dropdown items to have their own style applied on them but It doesn't work for some css defined classes.
Here's a snippet of my code :
<paragraphs>
<paragraph name="<strong>Normal</strong>" value="<P Class='Al'>" />
<paragraph name="<p Class='Txtrep3'>Niv 1</p>" value="<p Class='Txtrep3'>" />
<paragraph name="<p Class='Txtrep4'>Niv 2</p>" value="<p Class='Txtrep4'>" />
<paragraph name="<p Class='Remarque'>Remarque</p>" value="<p Class='Remarque'>" />
</paragraphs>
(I didn't use the format code block because it was totally unreadable)
So for example the first item "Normal" is well-rendered in the dropdown but others haven't got any style applied on them.
I can't figure out what's wrong as it works well when I want to define a style for any selected text.
Any help would be welcome !
Alexandre.
PS : RadEditor is sometimes acting weird, could It be possibly due to the trial version ? We plan on buying 2 licences and I wish this will solve out those strange behavior.