Re: "Fancy" Paragraph drop-down

  •  03-03-2004, 11:35 AM

    Re: "Fancy" Paragraph drop-down

    The solution to this problem is still not clear to me.

     

    I added this line to my application

    kbEditor.ParagraphsList = new string[] {"Normal","Heading 3","Heading 4", "Formatted"};

     

    This made the desired list of paragraph styles appear in the pulldown menu, but they were not formatted with their respective styles.  How do I make them appear formatted in their respective styles?  I tried adding the style information in several different places. Can you give an example of where >exactly< the style information goes?  I do not want to add the style information for the document being edited to the main page if possible.  Our company has different style standards for intranet applications and external documents and I would like to apply the menu styles only to the document being edited. 

     

    I looked at the source code for this example page http://cutesoft.net/document/ParagraphsList.aspx and noticed that the pulldown items are wrapped in their respective tags like <h3>Heading 3</h3>.  Do we need to add that in our declarative string to make this work?

     

    Caitlin

View Complete Thread