TemplateItemList drop downs causing unexpected line break

Last post 07-08-2011, 9:32 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  07-07-2011, 5:44 PM 68383

    TemplateItemList drop downs causing unexpected line break

    I'm configuring the toolbar using the ItemTemplateList and the string below.    Any of the drop down controls (FontName, FontSize, CssStyle) cause an unexpected line break.  Is there any way to prevent this?  Thanks
     
    [ToggleBorder|Cut,Copy,Paste,PasteWord,PasteAsHTML,Delete,RemoveFormat|JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,Indent,Outdent|BlockDirLTR,BlockDirRTL,Help]_[InsertLink,Unlink,InsertAnchor,InsertParagraph,Break,InsertChars,InsertOrderedList,InsertUnorderedList,InsertHorizontalRule,BoxFormatting|table,InsertRowTop,DeleteRow,InsertColumnLeft,InsertColumnRight,DeleteColumn,InsertCell,DeleteCell,EditRow,EditCell,MergeRight,MergeBottom,HorSplitCell]_[InsertImage|Bold,Italic,Underline,Superscript,Subscript,Strikethrough,forecolor,backcolor,FontName,FontSize,CssStyle]
     
    Filed under:
  •  07-08-2011, 9:32 AM 68389 in reply to 68383

    Re: TemplateItemList drop downs causing unexpected line break

    Hi sincell,
     
    I tested the following code and it works fine on my end:

    <%@ Page Language="C#"%>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <html>
        <head>
      <title>ASP.NET WYSIWYG Editor - Default Configuration </title>
     </head>
     <body>
            <form runat="server">  
      <CE:Editor id="Editor1" TemplateItemList="bold, italic" runat="server" ></CE:Editor><br />
      </form>
     </body>
    </html>

    <script runat="server">
     void Page_Load(object sender, System.EventArgs e)
      {
             if (!IsPostBack)
             {
                 Editor1.Text = "Type Here";
             }  
      } 
    </script>

     

    Can you extract your code to one simple and runnable example which can reproduce this issue? You can post the code here, we will test this issue based on your code. 
     
    Thanks for asking
View as RSS news feed in XML