Re: creating and saving a editor template files

  •  04-20-2004, 2:12 PM

    Re: creating and saving a editor template files

    Hi,

     

    You need to modify the include_CuteEditor.asp source code to achieve that.

     

     

     private Sub Toolbars_Initialize()   
      if s_template = "" or s_template = null then  

           Select case Lcase(s_autoconfigure)
            Case "default":
                   ToolbarLayout = "...."   
             Case "enableall":
                  ToolbarLayout = "...."   
            Case "simple":
                   ToolbarLayout = "...."   
             Case "minimal":
                  ToolbarLayout = "...."   
             Case "tablefocus":
                 ToolbarLayout = "...."   
             Case "imagefocus":
                ToolbarLayout = "...."        

            Case "yourttemplate":
                ToolbarLayout = "....Bold,Italic,Underline,Separator,JustifyLeft,JustifyCenter,JustifyRight"   
           Case Else
               ToolbarLayout = "Bold,Italic,Underline,Separator,JustifyLeft,JustifyCenter,JustifyRight"   
       End Select

     

    else 
       ToolbarLayout = s_template
      end if
     end Sub

     

     

    Also, is there a way to add line breaks in the button rows?

     

    Yes, the template item name is: Break 


    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