style sheets and cute edit

Last post 04-03-2007, 7:31 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  04-03-2007, 10:35 AM 27956

    style sheets and cute edit

     
      I am new to Cute Editor so please forgive the post,
     
     I want to set it up so that cute editor adds a css class reference to every link created by a user of our content management system. For example:
     
    1) a user creates a link using the link button. so the HTML will look something like this: <a href="http://www.example.com">
    2) I then want cute edit to automatically include a reference to a specified css class, so the HTML looks something like this: <a class="myclass" href="http://www.example.com">
     
    Is there any way of doing this?
     
    Many Thanks,
     
    Sam
  •  04-03-2007, 7:31 PM 27968 in reply to 27956

    Re: style sheets and cute edit

    Sam,
     
    Please check the following property:
     

    Editor.BaseHref Property

    Sets or retrieves the baseline URL on which relative links will be based.

     


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Sets or retrieves the baseline URL on which relative links will be based.
               editor.BaseHref = "http://yoursite.com"
               editor.Text = "Hello World"
               editor.Draw()
          %>
     

    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 as RSS news feed in XML