Re: CSS Class on Block Object - Help Please

  •  07-11-2006, 3:46 PM

    Re: CSS Class on Block Object - Help Please

    Jordan,
     
    If your selection is a block element, when you select the css class dropdown,  CuteEditor will just change/ass the cass attribute of this block element.
     
    For example:
     
    <DIV class=myClass>Text</DIV>
     
    Will be changed to:
     
    <DIV class=newClass>Text</DIV>
     
    If your selections is not a bock element,  CuteEditor will uses the span tag.
     
    >><item text="[[My Item]]" value="&lt;P class=myClass&gt;"></item>
     
    It will not work.
     
    >>I tried to add to/edit the FormatBlock "Paragraph" menu area in Config ex:
     
    You can change the <P> tag in the FormatBlock to <DIV> tag.

      <FormatBlock>
       <item text="[[Normal]]" value="&lt;P&gt;"></item>
       <item text="[[Heading 1]]" value="&lt;H1&gt;"></item>
       <item text="[[Heading 2]]" value="&lt;H2&gt;"></item>
       <item text="[[Heading 3]]" value="&lt;H3&gt;"></item>
       <item text="[[Heading 4]]" value="&lt;H4&gt;"></item>
       <item text="[[Heading 5]]" value="&lt;H5&gt;"></item>
       <item text="[[Heading 6]]" value="&lt;H6&gt;"></item>
       <item text="[[Address]]" value="&lt;Address&gt;"></item>
       <item text="[[MenuList]]" value="&lt;MENU&gt;"></item>
       <item text="[[Formatted]]" value="&lt;PRE&gt;"></item>
       <item text="[[Definition Term]]" value="&lt;DT&gt;"></item>
      </FormatBlock>
     
     
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread