>>You can change the <P> tag in the FormatBlock to <DIV> tag.
>>
Thanks for you suggestion but...
>> <FormatBlock>
>> <item text="[[Normal]]" value="<P>"></item>
I can get it to change to a DIV. The problem is I want to add a class to the DIV. Whenever I add Class into a elements value in the <FormatBlock> section, CE stops working.
>><item text="[[Normal]]" value="<div class=myClass>"></item>
I think the problem has to deal with how CE inserts / appends text to the HTML. If it sees <P> as the value of the ITEM, then CE knows that it must add </P> to the end of the selected block of text. But if CE sees <div Class=myClass> it does not know how to close the tag & so it inserts nothing.
I could be wrong. Does anyone have any other suggestions?
Maybe I can get around my problem by adding a code snipet to do what I want & training my app users how to get the desired HTML.
- Thanks.